i2c.h
来自「在AVR 平台下的控制代码,通过CAN控制」· C头文件 代码 · 共 24 行
H
24 行
#ifndef __I2C_H
#define __I2C_H
#ifdef __cplusplus
extern "C" {
#endif
Void tdI2COpen1(Void);
Void tdI2CClose1(Void);
Void tdI2CEnableSDAWrite(Void);
Void tdI2CEnableSDARead(Void );
Bool tdI2CSendByte(Byte ucByte);
Byte tdI2CReceiveByte(Void);
Void tdStart(Void);
Void tdStop(Void);
Void tdACK(Void);
Void tdNOACK(Void);
#ifdef __cplusplus
};
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?