/hal_nxp-3.7.0/mcux/mcux-sdk/components/sx1502/ |
D | fsl_sx1502.c | 46 masterXfer.slaveAddress = deviceAddress; in SX1502_I2C_Receive() 66 masterXfer.slaveAddress = deviceAddress; in SX1502_I2C_Send() 105 assert(handle->slaveAddress != 0U); in SX1502_WriteRegister() 107 return SX1502_I2C_Send(handle->i2cHandle, handle->slaveAddress, reg, 1U, (uint8_t *)&value, 1U); in SX1502_WriteRegister() 121 assert(handle->slaveAddress != 0U); in SX1502_ReadRegister() 126 …retval = SX1502_I2C_Receive(handle->i2cHandle, handle->slaveAddress, (uint32_t)reg, 1U, (uint8_t *… in SX1502_ReadRegister() 171 handle->slaveAddress = SX1502_I2C_ADDRESS; in SX1502_Init()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpc_i2c/ |
D | fsl_i2c.c | 556 result = I2C_MasterStart(base, (uint8_t)xfer->slaveAddress, kI2C_Write); in I2C_MasterTransferBlocking() 571 … result = I2C_MasterRepeatedStart(base, (uint8_t)xfer->slaveAddress, xfer->direction); in I2C_MasterTransferBlocking() 577 result = I2C_MasterRepeatedStart(base, (uint8_t)xfer->slaveAddress, xfer->direction); in I2C_MasterTransferBlocking() 581 result = I2C_MasterStart(base, (uint8_t)xfer->slaveAddress, xfer->direction); in I2C_MasterTransferBlocking() 902 base->MSTDAT = (uint32_t)transfer->slaveAddress << 1; in I2C_RunTransferStateMachine() 907 base->MSTDAT = (uint32_t)transfer->slaveAddress << 1; in I2C_RunTransferStateMachine() 912 base->MSTDAT = ((uint32_t)transfer->slaveAddress << 1) | 1u; in I2C_RunTransferStateMachine() 1531 bool slaveAddress; in I2C_SlaveWriteBlocking() local 1545 …slaveAddress = (((stat & I2C_STAT_SLVSTATE_MASK) >> I2C_STAT_SLVSTATE_SHIFT) == (uint32_t)I2C_STA… in I2C_SlaveWriteBlocking() 1549 if (!(slaveAddress || slaveTransmit)) in I2C_SlaveWriteBlocking() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/i2c/ |
D | fsl_i2c.c | 752 result = I2C_MasterStart(base, xfer->slaveAddress, direction); in I2C_MasterTransferBlocking() 782 result = I2C_MasterRepeatedStart(base, xfer->slaveAddress, xfer->direction); in I2C_MasterTransferBlocking() 1142 base->MSTDAT = (uint32_t)transfer->slaveAddress << 1U; in I2C_RunTransferStateMachine() 1147 base->MSTDAT = (uint32_t)transfer->slaveAddress << 1; in I2C_RunTransferStateMachine() 1152 base->MSTDAT = ((uint32_t)transfer->slaveAddress << 1) | 1u; in I2C_RunTransferStateMachine() 1701 bool slaveAddress; in I2C_SlaveWriteBlocking() local 1715 …slaveAddress = (((stat & I2C_STAT_SLVSTATE_MASK) >> I2C_STAT_SLVSTATE_SHIFT) == (uint32_t)I2C_STA… in I2C_SlaveWriteBlocking() 1719 if (!(slaveAddress || slaveTransmit)) in I2C_SlaveWriteBlocking() 1725 if (slaveAddress) in I2C_SlaveWriteBlocking() 1788 bool slaveAddress; in I2C_SlaveReadBlocking() local [all …]
|
/hal_nxp-3.7.0/imx/drivers/ |
D | i2c_imx.h | 53 uint8_t slaveAddress; /*!< I2C module's own address when addressed as slave device. */ member 145 static inline void I2C_SetSlaveAddress(I2C_Type* base, uint8_t slaveAddress) in I2C_SetSlaveAddress() argument 147 assert(slaveAddress < 0x80); in I2C_SetSlaveAddress() 149 I2C_IADR_REG(base) = (I2C_IADR_REG(base) & ~I2C_IADR_ADR_MASK) | I2C_IADR_ADR(slaveAddress); in I2C_SetSlaveAddress()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/fxls8974cf/ |
D | fsl_fxls.c | 26 fxls_handle->slaveAddress = config->slaveAddress; in FXLS_Init() 137 return handle->I2C_ReceiveFunc(handle->slaveAddress, reg, 1, val, bytesNumber); in FXLS_ReadReg() 151 return handle->I2C_SendFunc(handle->slaveAddress, reg, 1, val); in FXLS_WriteReg()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/i2c/ |
D | fsl_adapter_i2c.c | 168 i2cConfig.slaveAddress = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit() 263 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking() 302 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
|
D | fsl_adapter_ii2c.c | 168 i2cConfig.slaveAddress = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit() 263 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking() 302 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
|
D | fsl_adapter_i3c.c | 173 i3cConfig.address0 = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit() 251 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking() 296 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
|
D | fsl_adapter_lpi2c.c | 166 i2cConfig.address0 = (uint8_t)halI2cConfig->slaveAddress; in HAL_I2cSlaveInit() 237 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking() 276 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
|
D | fsl_adapter_flexcomm_i2c.c | 176 i2cConfig.address0.address = (uint8_t)halI2cConfig->slaveAddress; in HAL_I2cSlaveInit() 274 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking() 313 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
|
D | fsl_adapter_lpc_i2c.c | 188 i2cConfig.address0.address = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit() 283 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking() 322 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/mma8451q/ |
D | fsl_mma.c | 26 handle->slaveAddress = config->slaveAddress; in MMA_Init() 158 return handle->I2C_ReceiveFunc(handle->slaveAddress, reg, 1, val, 1); in MMA_ReadReg() 170 return handle->I2C_SendFunc(handle->slaveAddress, reg, 1, val); in MMA_WriteReg()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/mma8652fc/ |
D | fsl_mma.c | 25 handle->slaveAddress = config->slaveAddress; in MMA_Init() 142 return handle->I2C_ReceiveFunc(handle->slaveAddress, reg, 1, val, 1); in MMA_ReadReg() 154 return handle->I2C_SendFunc(handle->slaveAddress, reg, 1, val); in MMA_WriteReg()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/tfa9xxx/ |
D | fsl_tfa9xxx_IMX.c | 149 void *TFA9XXX_GetI2CClient(nxpTfaContainer_t *cnt, uint8_t slaveAddress) in TFA9XXX_GetI2CClient() argument 151 if (slaveAddress < 0x34U || slaveAddress > 0x37U) in TFA9XXX_GetI2CClient() 154 return &s_myclient[slaveAddress - 0x34U]; in TFA9XXX_GetI2CClient()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/fxos8700cq/ |
D | fsl_fxos.c | 27 fxos_handle->slaveAddress = config->slaveAddress; in FXOS_Init() 214 return handle->I2C_ReceiveFunc(handle->slaveAddress, reg, 1, val, bytesNumber); in FXOS_ReadReg() 226 return handle->I2C_SendFunc(handle->slaveAddress, reg, 1, val); in FXOS_WriteReg()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/lsm6dso/ |
D | fsl_lsm.c | 22 handle->slaveAddress = config->slaveAddress; in LSM_Init() 292 status = handle->I2C_ReceiveFunc(handle->slaveAddress, reg, 1, val, 1, 0); in LSM_ReadReg() 306 status = handle->I2C_SendFunc(handle->slaveAddress, reg, 1, *val, 0); in LSM_WriteReg()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/pca9420/ |
D | fsl_pca9420.c | 69 config->slaveAddress = PCA9420_DEFAULT_I2C_ADDR; in PCA9420_GetDefaultConfig() 84 handle->slaveAddress = config->slaveAddress; in PCA9420_Init() 411 …return (kStatus_Success == handle->I2C_SendFunc(handle->slaveAddress, regBase, 1U, val, size)) ? t… in PCA9420_WriteRegs() 420 …return (kStatus_Success == handle->I2C_ReceiveFunc(handle->slaveAddress, regBase, 1U, val, size)) … in PCA9420_ReadRegs()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/tfa9896/ |
D | fsl_hal_registers.c | 29 assert(handle->config->slaveAddress != 0U); in TFA9896_ReadRegister() 36 …if (CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, subaddress, 1U, (uint8_t *)… in TFA9896_ReadRegister() 75 assert(handle->config->slaveAddress != 0U); in TFA9896_WriteRegister() 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() 390 if (handle->config->slaveAddress != 0x1C) in TFA9896_DspSetParam() 600 …err = CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, 0U, 0U, (void *)(bytes + ind… in TFA9896_ProcessPatchFile() 1073 if (handle->config->slaveAddress == 0x1C) in TFA9896_DspGetParam()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkmimxrt1064/ |
D | board.c | 80 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send() 100 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Receive() 120 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_SendSCCB() 141 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_ReceiveSCCB()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkbmimxrt1060/ |
D | board.c | 79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send() 99 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Receive() 119 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_SendSCCB() 140 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_ReceiveSCCB()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkmimxrt1040/ |
D | board.c | 79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send() 99 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Receive() 119 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_SendSCCB() 140 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_ReceiveSCCB()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkmimxrt1060/ |
D | board.c | 79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send() 99 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Receive() 119 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_SendSCCB() 140 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_ReceiveSCCB()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkbimxrt1050/ |
D | board.c | 79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send() 99 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Receive() 119 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_SendSCCB() 140 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_ReceiveSCCB()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/evkcmimxrt1060/ |
D | board.c | 79 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Send() 99 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_Receive() 119 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_SendSCCB() 140 xfer.slaveAddress = deviceAddress; in BOARD_LPI2C_ReceiveSCCB()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/components/codec/ak4497/ |
D | fsl_ak4497.c | 360 assert(handle->config->slaveAddress != 0U); in AK4497_WriteReg() 364 …return CODEC_I2C_Send(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, (uint8_t *)&val, 1… in AK4497_WriteReg() 370 assert(handle->config->slaveAddress != 0U); in AK4497_ReadReg() 374 return CODEC_I2C_Receive(handle->i2cHandle, handle->config->slaveAddress, reg, 1U, val, 1U); in AK4497_ReadReg()
|