📄 hpi.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 + -