Home
last modified time | relevance | path

Searched refs:i2cHandle (Results 1 – 25 of 39) sorted by relevance

12

/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/pcm186x/
Dfsl_pcm186x.c28 return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, &val, 1U); in PCM186x_WriteReg()
35 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, val, 1U); in PCM186x_ReadReg()
212 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, PCM186X_I2C_BAUDRATE, in PCM186x_Init()
234 …if (CODEC_I2C_Init(handle->i2cHandle, handle->config->i2cConfig.codecI2CInstance, PCM186X_I2C_BAUD… in PCM186x_Deinit()
249 ret = CODEC_I2C_Deinit(handle->i2cHandle); in PCM186x_Deinit()
Dfsl_pcm186x.h123 uint8_t i2cHandle[PCM186X_I2C_HANDLER_SIZE]; /*!< i2c handle */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/sx1502/
Dfsl_sx1502.c107 return SX1502_I2C_Send(handle->i2cHandle, handle->slaveAddress, reg, 1U, (uint8_t *)&value, 1U); in SX1502_WriteRegister()
126 …retval = SX1502_I2C_Receive(handle->i2cHandle, handle->slaveAddress, (uint32_t)reg, 1U, (uint8_t *… in SX1502_ReadRegister()
174 result = SX1502_I2C_Init(handle->i2cHandle, sx1502Config->sx1502I2CInstance, SX1502_I2C_BITRATE, in SX1502_Init()
228 return SX1502_I2C_Deinit(handle->i2cHandle); in SX1502_Deinit()
Dfsl_sx1502.h99 uint8_t i2cHandle[SX1502_I2C_HANDLER_SIZE]; /*!< i2c handle */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/pcm512x/
Dfsl_pcm512x.c28 return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, &val, 1U); in PCM512x_WriteReg()
35 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, val, 1U); in PCM512x_ReadReg()
415 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, PCM512X_I2C_BAUDRATE, in PCM512x_Init()
454 …if (CODEC_I2C_Init(handle->i2cHandle, handle->config->i2cConfig.codecI2CInstance, PCM512X_I2C_BAUD… in PCM512x_Deinit()
466 ret = CODEC_I2C_Deinit(handle->i2cHandle); in PCM512x_Deinit()
Dfsl_pcm512x.h185 uint8_t i2cHandle[PCM512X_I2C_HANDLER_SIZE]; /*!< i2c handle */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/cs42448/
Dfsl_cs42448.c62 …errorStatus = CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, CS42448_I2C_BI… in CS42448_Init()
182 return CODEC_I2C_Deinit(handle->i2cHandle); in CS42448_Deinit()
469 return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, &val, 1U); in CS42448_WriteReg()
476 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, val, 1U); in CS42448_ReadReg()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/cs42888/
Dfsl_cs42888.c65 …errorStatus = CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, CS42888_I2C_BI… in CS42888_Init()
185 return CODEC_I2C_Deinit(handle->i2cHandle); in CS42888_Deinit()
472 return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, &val, 1U); in CS42888_WriteReg()
479 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, val, 1U); in CS42888_ReadReg()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/ak4497/
Dfsl_ak4497.c60 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, AK4497_I2C_BITRATE, in AK4497_Init()
336 ret = CODEC_I2C_Deinit(handle->i2cHandle); in AK4497_Deinit()
364 …return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, (uint8_t *)&val, 1… in AK4497_WriteReg()
374 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, val, 1U); in AK4497_ReadReg()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/lpc_i2c/
Dfsl_i2c.h371 typedef void (*i2c_isr_t)(I2C_Type *base, void *i2cHandle);
745 void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle);
1046 void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle);
Dfsl_i2c_dma.c413 void I2C_MasterTransferDMAHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_MasterTransferDMAHandleIRQ() argument
415 assert(i2cHandle != NULL); in I2C_MasterTransferDMAHandleIRQ()
419 i2c_master_dma_handle_t *handle = (i2c_master_dma_handle_t *)i2cHandle; in I2C_MasterTransferDMAHandleIRQ()
Dfsl_i2c.c1028 void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_MasterTransferHandleIRQ() argument
1030 assert(i2cHandle != NULL); in I2C_MasterTransferHandleIRQ()
1032 i2c_master_handle_t *handle = (i2c_master_handle_t *)i2cHandle; in I2C_MasterTransferHandleIRQ()
1830 void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_SlaveTransferHandleIRQ() argument
1832 assert(i2cHandle != NULL); in I2C_SlaveTransferHandleIRQ()
1834 i2c_slave_handle_t *handle = (i2c_slave_handle_t *)i2cHandle; in I2C_SlaveTransferHandleIRQ()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/services/
Dsrtm_i2c_codec_adapter.c105 …CODEC_I2C_Send(handle->config.i2cHandle, handle->config.slaveAddr, reg, (uint8_t)handle->config.ad… in SRTM_I2CCodecAdapter_SetReg()
127 status = CODEC_I2C_Receive(handle->config.i2cHandle, handle->config.slaveAddr, reg, in SRTM_I2CCodecAdapter_GetReg()
Dsrtm_i2c_codec_adapter.h34 void *i2cHandle; member
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/ii2c/
Dfsl_i2c.c38 typedef void (*i2c_isr_t)(I2C_Type *base, void *i2cHandle);
1205 void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_MasterTransferHandleIRQ() argument
1207 assert(i2cHandle != NULL); in I2C_MasterTransferHandleIRQ()
1209 i2c_master_handle_t *handle = (i2c_master_handle_t *)i2cHandle; in I2C_MasterTransferHandleIRQ()
1561 void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_SlaveTransferHandleIRQ() argument
1563 assert(i2cHandle != NULL); in I2C_SlaveTransferHandleIRQ()
1567 i2c_slave_handle_t *handle = (i2c_slave_handle_t *)i2cHandle; in I2C_SlaveTransferHandleIRQ()
Dfsl_i2c.h580 void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle);
648 void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle);
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8962/
Dfsl_wm8962.c313 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, WM8962_I2C_BAUDRATE, in WM8962_Init()
399 WM8962_CHECK_RET(CODEC_I2C_Deinit(handle->i2cHandle), ret); in WM8962_Deinit()
822 …return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 2U, (uint8_t *)(uint32… in WM8962_WriteReg()
830 …retval = CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 2U, (uint8_t *)&r… in WM8962_ReadReg()
865 …retval = CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, i, 2U, (uint8_t *)&rea… in WM8962_ReadAllReg()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/sgtl5000/
Dfsl_sgtl5000.c36 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, SGTL_I2C_BITRATE, in SGTL_Init()
156 ret = CODEC_I2C_Deinit(handle->i2cHandle); in SGTL_Deinit()
678 …return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 2U, (uint8_t *)&writeV… in SGTL_WriteReg()
687 …retval = CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 2U, (uint8_t *)&r… in SGTL_ReadReg()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/da7212/
Dfsl_dialog7212.c303 …return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, u8Register, 1U, (uint8_t *)… in DA7212_WriteRegister()
311 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, u8Register, 1U, in DA7212_ReadRegister()
344 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, DA7212_I2C_BAUDRATE, in DA7212_Init()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/i2c/
Dfsl_i2c.h729 void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle);
797 void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle);
Dfsl_i2c.c31 typedef void (*i2c_isr_t)(I2C_Type *base, void *i2cHandle);
1639 void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_MasterTransferHandleIRQ() argument
1641 assert(NULL != i2cHandle); in I2C_MasterTransferHandleIRQ()
1643 i2c_master_handle_t *handle = (i2c_master_handle_t *)i2cHandle; in I2C_MasterTransferHandleIRQ()
2137 void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle) in I2C_SlaveTransferHandleIRQ() argument
2139 assert(NULL != i2cHandle); in I2C_SlaveTransferHandleIRQ()
2143 i2c_slave_handle_t *handle = (i2c_slave_handle_t *)i2cHandle; in I2C_SlaveTransferHandleIRQ()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/tfa9xxx/
Dfsl_tfa9xxx.h106 uint8_t i2cHandle[TFA9XXX_I2C_HANDLER_SIZE]; /*!< i2c handle */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8904/
Dfsl_wm8904.c141 …return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, (uint8_t *)&writeV… in WM8904_WriteRegister()
160 retval = CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, (uint32_t)reg, 1U, in WM8904_ReadRegister()
211 …result = CODEC_I2C_Init(handle->i2cHandle, wm8904Config->i2cConfig.codecI2CInstance, WM8904_I2C_BI… in WM8904_Init()
459 return CODEC_I2C_Deinit(handle->i2cHandle); in WM8904_Deinit()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/wm8960/
Dfsl_wm8960.c169 if (CODEC_I2C_Init(handle->i2cHandle, config->i2cConfig.codecI2CInstance, WM8960_I2C_BAUDRATE, in WM8960_Init()
267 …if (CODEC_I2C_Init(handle->i2cHandle, handle->config->i2cConfig.codecI2CInstance, WM8960_I2C_BAUDR… in WM8960_Deinit()
277 WM8960_CHECK_RET(CODEC_I2C_Deinit(handle->i2cHandle), ret); in WM8960_Deinit()
842 return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, cmd, 1U, &buff, 1U); in WM8960_WriteReg()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/codec/tfa9896/
Dfsl_hal_registers.c36 …if (CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, subaddress, 1U, (uint8_t *)… in TFA9896_ReadRegister()
84 …CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, subaddress, 1U, (uint8_t *)&writeV… in TFA9896_WriteRegister()
155 …CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, subaddress, 1U, (uint8_t *)data… in TFA9896_ReadData()
177 …err = CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, subaddress, 1U, (uint8_t *)d… in TFA9896_WriteData()
600 …err = CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, 0U, 0U, (void *)(bytes + ind… in TFA9896_ProcessPatchFile()

12