ucio.h
来自「mifarea卡程序mifarea卡程序mifarea卡程序」· C头文件 代码 · 共 24 行
H
24 行
#ifndef UCIO_H
#define UCIO_H
#define GetRegPage(adr) (0x80 | (adr>>3))
/********************************
* write io port at address *
********************************/
void WriteRawIO(unsigned char Address, unsigned char value);
#define outportb WriteRawIO
/********************************
* write io port from address *
* return the value read *
********************************/
unsigned char ReadRawIO(unsigned char Address);
#define inportb ReadRawIO
void WriteIO(unsigned char Address, unsigned char value);
unsigned char ReadIO(unsigned char Address);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?