iic.h
来自「CCS中通过DM642对AIC23B音频编解码芯片的配置,采用AIC23B主模式」· C头文件 代码 · 共 35 行
H
35 行
#ifndef _IIC_H
#define _IIC_H
#include <std.h>
#include <csl_stdinc.h>
#include <csl_i2c.h>
#ifdef __cplusplus
extern "C" {
#endif
void _IIC_write(I2C_Handle hI2C,
Uint8 devAddress,
Uint32 subAddress,
Uint16 data
);
/*
* ======== _IIC_read ========
* This function performs read from operation via I2C bus.
*/
void _IIC_read(I2C_Handle hI2C,
Uint8 devAddress,
Uint32 subAddress,
Uint16 data
);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?