pin.h

来自「里面有通过JTAG口对FLASH的烧写代码」· C头文件 代码 · 共 34 行

H
34
字号
// Pin.h: interface for the CPin class.
//
//////////////////////////////////////////////////////////////////////

#define	PIN_NA			0
#define	PIN_IN			1
#define	PIN_OUT			2
#define	PIN_BUFFER		3
#define	PIN_INOUT		4
#define	PIN_LINKAGE		5

class CPin  
{
public:
	int nCtrlCell;
	int nOutCell;
	int nInCell;
	char * TypeName(void);
	int nAssigned;
	int error;
	int nType;
	void Oe(int enable);
	int nAct;
	void Write(int dt);
	int Read(void);
	int *pInCell;
	int *pOutCell;
	int *pCtrlCell;
	CPin(CString strInitName = CString(""));
	CString strNumber;
	CString strName;
	virtual ~CPin();
};

⌨️ 快捷键说明

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