hpi.h

来自「该代码实现了 两次下载法在dspC6713平台上 烧写flash的操作过程」· C头文件 代码 · 共 34 行

H
34
字号
/*****************************************************************************
* 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 + =
减小字号Ctrl + -
显示快捷键?