Home
last modified time | relevance | path

Searched refs:slaveAddress (Results 1 – 25 of 139) sorted by relevance

123456

/hal_nxp-3.7.0/mcux/mcux-sdk/components/sx1502/
Dfsl_sx1502.c46 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/
Dfsl_i2c.c556 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
1545slaveAddress = (((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/
Dfsl_i2c.c752 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
1715slaveAddress = (((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/
Di2c_imx.h53 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/
Dfsl_fxls.c26 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/
Dfsl_adapter_i2c.c168 i2cConfig.slaveAddress = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit()
263 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking()
302 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
Dfsl_adapter_ii2c.c168 i2cConfig.slaveAddress = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit()
263 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking()
302 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
Dfsl_adapter_i3c.c173 i3cConfig.address0 = halI2cConfig->slaveAddress; in HAL_I2cSlaveInit()
251 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferBlocking()
296 transfer.slaveAddress = xfer->slaveAddress; in HAL_I2cMasterTransferNonBlocking()
Dfsl_adapter_lpi2c.c166 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()
Dfsl_adapter_flexcomm_i2c.c176 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()
Dfsl_adapter_lpc_i2c.c188 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/
Dfsl_mma.c26 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/
Dfsl_mma.c25 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/
Dfsl_tfa9xxx_IMX.c149 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/
Dfsl_fxos.c27 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/
Dfsl_lsm.c22 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/
Dfsl_pca9420.c69 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/
Dfsl_hal_registers.c29 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/
Dboard.c80 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/
Dboard.c79 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/
Dboard.c79 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/
Dboard.c79 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/
Dboard.c79 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/
Dboard.c79 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/
Dfsl_ak4497.c360 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()

123456