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

📄 dec6713.h

📁 北京瑞泰TMS320C6713板FLASH测试程序
💻 H
字号:
/********************************************************************************\
\*DEC6713.H	  	v1.00	     							                            *
* Copyright	2006 by SSD Electronic Technology Ltd.
* All rights reserved. Property of SSD Electronic Technology Ltd.			                *
* Designed by:	W.Z.H								                                *
\********************************************************************************/
#ifndef DEC6713_
#define DEC6713_

#include <csl.h>

/* CPLD address definitions */
#define DEC6713_CPLD_BASE    0x90080000

/* CPLD Register Indices */
#define DEC6713_LED_REG    	 	0
#define DEC6713_OUTP_REG		1
#define DEC6713_CTR_REG			2
#define DEC6713_INP_REG			3
#define	DEC6713_KEY_REG			4
#define	DEC6713_EINT_REG		5
#define DEC6713_USB_ADR_REG		6
#define	DEC6713_USB_DAT_REG		7

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

/* Read an 8-bit value from a CPLD register */
Uint8 DEC6713_cpld_rget(Int8 regnum);

/* Write an 8-bit value to a CPLD register */
void DEC6713_cpld_rset(Int8 regnum, Uint8 regval);

/* Spin in a delay loop for delay iterations */
void DEC6713_wait(Uint32 delay);

#endif

⌨️ 快捷键说明

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