📄 apb_i2c_module.h
字号:
/********************************************/
/* I2CFunc.c: the APB_I2C_tvIn API. */
/* Author : DQ */
/* Time : 2005-12-15 */
/********************************************/
#ifndef APB_I2C_H
#define APB_I2C_H
/* brief : Initialize the I2C module */
void init_i2c(void);
/* brief : Delete the I2C module from the system */
void dele_i2c(void);
/* brief: This API is used to transmit data
** para : length -- the length of the buffer
** para : buffer -- the pointer of data
** para : target -- the address of the target
*/
int transmitData(const int threhold, const unsigned char *buffer, const unsigned short target);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -