Go to the documentation of this file.
9 #ifndef _FSL_CODEC_I2C_H_
10 #define _FSL_CODEC_I2C_H_
19 #ifndef CODEC_I2C_MASTER_HANDLER_SIZE
20 #define CODEC_I2C_MASTER_HANDLER_SIZE HAL_I2C_MASTER_HANDLE_SIZE
48 #if defined(__cplusplus)
61 status_t CODEC_I2C_Init(
void *handle, uint32_t i2cInstance, uint32_t i2cBaudrate, uint32_t i2cSourceClockHz);
83 uint8_t deviceAddress,
85 uint8_t subaddressSize,
101 uint8_t deviceAddress,
103 uint8_t subaddressSize,
107 #if defined(__cplusplus)
uint32_t codecI2CSourceClock
status_t CODEC_I2C_Deinit(void *handle)
Codec i2c de-initilization.
struct _codec_i2c_config codec_i2c_config_t
CODEC I2C configurations structure.
CODEC I2C configurations structure.
enum _codec_reg_addr codec_reg_addr_t
CODEC device register address type.
status_t CODEC_I2C_Send(void *handle, uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *txBuff, uint8_t txBuffSize)
codec i2c send function.
_codec_reg_width
CODEC device register width.
_codec_reg_addr
CODEC device register address type.
status_t CODEC_I2C_Receive(void *handle, uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuffSize)
codec i2c receive function.
status_t CODEC_I2C_Init(void *handle, uint32_t i2cInstance, uint32_t i2cBaudrate, uint32_t i2cSourceClockHz)
Codec i2c bus initilization.
uint32_t codecI2CInstance
enum _codec_reg_width codec_reg_width_t
CODEC device register width.
int32_t status_t
Type used for all status and error return values.