at24c02.h
来自「AT24C02的读写」· C头文件 代码 · 共 24 行
H
24 行
#ifndef AT24C02_H
#define AT24C02_H
#ifndef uchar
#define uchar unsigned char
#endif
#ifndef uint
#define uint unsigned int
#endif
//---------------------------------------------------------
#define WC24C02 0xA0
//---------------------------------------------------------
uchar ReadByte24C02( uchar Address );
uint ReadWord24C02( uchar Address );
void WriteByte24C02( uchar Address , uchar val );
void WriteWord24C02( uchar Address , uint val );
void WriteStr24C02( uchar Address , uchar *pStr , uchar strLen );
uchar* ReadStr24C02( uchar Address , uchar *pStr , uchar strLen );
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?