⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hpi.h

📁 该代码实现了 两次下载法在dspC6713平台上 烧写flash的操作过程
💻 H
字号:
/*****************************************************************************
* File name :    HPI.H
* Description:
******************************************************************************/
#ifndef MASTER_FILE
#define C6711_GLOBALS
#include "includes.h"
#endif

#include "C6711_CPU.H"

/*----------------------------------------------------------------------------*/
/*                                 DEFINES                                    */
/*----------------------------------------------------------------------------*/

/*Define HPI Registers */
#define HPIC            0x1880000   /* Address of HPI Control Register      */

/*----------------------------------------------------------------------------*/
/*HPIC is organized as a 32-bit register whose high halfword and low halfword */
/*contents are the same. On a host write, both halfwords must be identical.   */
/*The low halfword and high halfword are actually the same storage locations. */
/* Only CPU writes to the lower halfword affect HPIC values and HPI operation.*/
/*----------------------------------------------------------------------------*/

 /*Host Port Interface Control Register (HPIC) Bitfield*/
#define HWOB         0               /*Halfword ordering bit.                 */ 
#define DSPINT       1               /*The host processor-to-CPU/DMA interrupt*/
#define HINT         2               /*DSP to Host interrupt                  */
#define HRDY         3               /*HRDY Ready signal to host.             */
#define FETCH        4               /*Host fetch request                     */


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -