dspc270.h

来自「dm270 source code」· C头文件 代码 · 共 42 行

H
42
字号
/*
    DM270 ARM Evaluation Software

    (c)Texas Instruments 2003
*/

/** \defgroup DSPC DSP Control */
/*@{*/


/** \file dspc270.h
    \brief DSP Control related APIs
*/


#ifndef __DSPC_270_H__
#define __DSPC_270_H__

#include <system/armsys270.h>

#define HPI_DSP_START_ADDR  0x40000
#define HPI_DSP_END_ADDR    0x5FFFF

STATUS DSPC_reset();
STATUS DSPC_strobeINT0();
STATUS DSPC_strobeNMI();
STATUS DSPC_assertHOLD();
STATUS DSPC_releaseHOLD();
BOOL   DSPC_checkHOLDACK();
STATUS DSPC_byteSwap(BOOL enable);
STATUS DSPC_hpiEnable(BOOL enable);
Uint16 DSPC_hpiStatus();

STATUS DSPC_writeData(char *address, Uint32 size, Uint32 dspAddr);
STATUS DSPC_readData(char *address, Uint32 size, Uint32 dspAddr);
STATUS DSPC_writeDataVerify(char *address, Uint32 size, Uint32 dspAddr, Uint16 retryCount);

#endif /*   __DSPC_270_H__   */

/*@}*/

⌨️ 快捷键说明

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