dec6713_dtk.h

来自「这是一个在CCS平台下开发的一个IO通讯测试程序,可以当作参考.」· C头文件 代码 · 共 34 行

H
34
字号
/********************************************************************************\
\*DEC6713_DTK.H	  	v1.00	     							                            *
* Copyright	2004 by SEED Electronic Technology Ltd.
* All rights reserved. Property of SEED Electronic Technology Ltd.			                *
* Designed by:	Hongshuai.Li								                                *
\********************************************************************************/
#ifndef DEC6713_DTK_
#define DEC6713_DTK_

#include <csl.h>

/* DTK address definitions */

#define DEC6713_DTK_BASE    0xB01C0000

//
/* DTK Register Indices */
#define DEC6713_DTK_TRF    	 	0
#define DEC6713_DTK_LED			4


/* Initialize all board APIs */
void DEC6713_init();

/* Read an 8-bit value from a DTK register */
Uint16 DEC6713_DTK_rget(Int16 regnum);

/* Write an 8-bit value to a DTK register */
void DEC6713_DTK_rset(Int16 regnum, Uint16 regval);



#endif

⌨️ 快捷键说明

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