ep1k50.h

来自「单片机程序代码,经过很详细的测试.呵呵,硬件相关.」· C头文件 代码 · 共 21 行

H
21
字号
// EP1K50.H:	This header file allow CPU to configurate the EP1K50 cross connecting 
// PTUN(n,m)=x:
//	n:	The selected outport n
//	m:	The secected TU m of outport n
//  x:	The source inport x
//  Example:  
//	PTUN(1,1)=0x1,	The TU 1 of outport 1 comes from the inport 1

#include <absacc.h>
#ifndef ep1k50
#define ep1k50 

#define EP1K50BASE 0x8C00		// EP1K50 BASE ADDRESS
					
#define PTUN(n,m)   XBYTE[EP1K50BASE + (n << 6) + m]  

#endif



⌨️ 快捷键说明

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