apb_i2c_module.h

来自「Audio codec--TLV320AIC31 驱动」· C头文件 代码 · 共 25 行

H
25
字号
/********************************************/
/* 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 + =
减小字号Ctrl + -
显示快捷键?