/hal_nxp-3.6.0/mcux/mcux-sdk/components/i2c/ |
D | fsl_adapter_flexcomm_i2c.c | 46 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 157 I2C_MasterInit(s_i2cBases[i2cMasterHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cMasterInit() 180 … (void)I2C_SlaveInit(s_i2cBases[i2cSlaveHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cSlaveInit() 193 …I2C_MasterDeinit(s_i2cBases[i2cMasterHandle->instance]); /*Deinitializes the I2C master peripheral… in HAL_I2cMasterDeinit() 206 … I2C_SlaveDeinit(s_i2cBases[i2cSlaveHandle->instance]); /*Deinitializes the I2C slave peripheral*/ in HAL_I2cSlaveDeinit() 223 …return HAL_I2cGetStatus(I2C_MasterWriteBlocking(s_i2cBases[i2cMasterHandle->instance], txBuff, txS… in HAL_I2cMasterWriteBlocking() 237 …return HAL_I2cGetStatus(I2C_MasterReadBlocking(s_i2cBases[i2cMasterHandle->instance], rxBuff, rxSi… in HAL_I2cMasterReadBlocking() 249 …return HAL_I2cGetStatus(I2C_SlaveWriteBlocking(s_i2cBases[i2cSlaveHandle->instance], txBuff, txSiz… in HAL_I2cSlaveWriteBlocking() 260 …return HAL_I2cGetStatus(I2C_SlaveReadBlocking(s_i2cBases[i2cSlaveHandle->instance], rxBuff, rxSize… in HAL_I2cSlaveReadBlocking() 281 …return HAL_I2cGetStatus(I2C_MasterTransferBlocking(s_i2cBases[i2cMasterHandle->instance], &transfe… in HAL_I2cMasterTransferBlocking() [all …]
|
D | fsl_adapter_i2c.c | 46 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 150 I2C_MasterInit(s_i2cBases[i2cMasterHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cMasterInit() 171 I2C_SlaveInit(s_i2cBases[i2cSlaveHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cSlaveInit() 184 I2C_MasterDeinit(s_i2cBases[i2cMasterHandle->instance]); in HAL_I2cMasterDeinit() 197 I2C_SlaveDeinit(s_i2cBases[i2cSlaveHandle->instance]); in HAL_I2cSlaveDeinit() 213 …return HAL_I2cGetStatus(I2C_MasterWriteBlocking(s_i2cBases[i2cMasterHandle->instance], txBuff, txS… in HAL_I2cMasterWriteBlocking() 227 …return HAL_I2cGetStatus(I2C_MasterReadBlocking(s_i2cBases[i2cMasterHandle->instance], rxBuff, rxSi… in HAL_I2cMasterReadBlocking() 238 …return HAL_I2cGetStatus(I2C_SlaveWriteBlocking(s_i2cBases[i2cSlaveHandle->instance], txBuff, txSiz… in HAL_I2cSlaveWriteBlocking() 249 …return HAL_I2cGetStatus(I2C_SlaveReadBlocking(s_i2cBases[i2cSlaveHandle->instance], rxBuff, rxSize… in HAL_I2cSlaveReadBlocking() 270 …return HAL_I2cGetStatus(I2C_MasterTransferBlocking(s_i2cBases[i2cMasterHandle->instance], &transfe… in HAL_I2cMasterTransferBlocking() [all …]
|
D | fsl_adapter_ii2c.c | 46 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 150 I2C_MasterInit(s_i2cBases[i2cMasterHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cMasterInit() 171 I2C_SlaveInit(s_i2cBases[i2cSlaveHandle->instance], &i2cConfig); in HAL_I2cSlaveInit() 184 I2C_MasterDeinit(s_i2cBases[i2cMasterHandle->instance]); in HAL_I2cMasterDeinit() 197 I2C_SlaveDeinit(s_i2cBases[i2cSlaveHandle->instance]); in HAL_I2cSlaveDeinit() 213 …return HAL_I2cGetStatus(I2C_MasterWriteBlocking(s_i2cBases[i2cMasterHandle->instance], txBuff, txS… in HAL_I2cMasterWriteBlocking() 227 …return HAL_I2cGetStatus(I2C_MasterReadBlocking(s_i2cBases[i2cMasterHandle->instance], rxBuff, rxSi… in HAL_I2cMasterReadBlocking() 238 …return HAL_I2cGetStatus(I2C_SlaveWriteBlocking(s_i2cBases[i2cSlaveHandle->instance], txBuff, txSiz… in HAL_I2cSlaveWriteBlocking() 249 …return HAL_I2cGetStatus(I2C_SlaveReadBlocking(s_i2cBases[i2cSlaveHandle->instance], rxBuff, rxSize… in HAL_I2cSlaveReadBlocking() 270 …return HAL_I2cGetStatus(I2C_MasterTransferBlocking(s_i2cBases[i2cMasterHandle->instance], &transfe… in HAL_I2cMasterTransferBlocking() [all …]
|
D | fsl_adapter_lpc_i2c.c | 46 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 166 I2C_MasterInit(s_i2cBases[i2cMasterHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cMasterInit() 191 I2C_SlaveInit(s_i2cBases[i2cSlaveHandle->instance], &i2cConfig, halI2cConfig->srcClock_Hz); in HAL_I2cSlaveInit() 204 I2C_MasterDeinit(s_i2cBases[i2cMasterHandle->instance]); in HAL_I2cMasterDeinit() 217 I2C_SlaveDeinit(s_i2cBases[i2cSlaveHandle->instance]); in HAL_I2cSlaveDeinit() 233 …return HAL_I2cGetStatus(I2C_MasterWriteBlocking(s_i2cBases[i2cMasterHandle->instance], txBuff, txS… in HAL_I2cMasterWriteBlocking() 247 …return HAL_I2cGetStatus(I2C_MasterReadBlocking(s_i2cBases[i2cMasterHandle->instance], rxBuff, rxSi… in HAL_I2cMasterReadBlocking() 258 …return HAL_I2cGetStatus(I2C_SlaveWriteBlocking(s_i2cBases[i2cSlaveHandle->instance], txBuff, txSiz… in HAL_I2cSlaveWriteBlocking() 269 …return HAL_I2cGetStatus(I2C_SlaveReadBlocking(s_i2cBases[i2cSlaveHandle->instance], rxBuff, rxSize… in HAL_I2cSlaveReadBlocking() 290 …return HAL_I2cGetStatus(I2C_MasterTransferBlocking(s_i2cBases[i2cMasterHandle->instance], &transfe… in HAL_I2cMasterTransferBlocking() [all …]
|
D | fsl_adapter_lpi2c.c | 46 static LPI2C_Type *const s_i2cBases[] = LPI2C_BASE_PTRS; variable 145 LPI2C_MasterInit(s_i2cBases[i2cMasterHandle->instance], &i2cConfig, config->srcClock_Hz); in HAL_I2cMasterInit() 166 LPI2C_SlaveInit(s_i2cBases[i2cSlaveHandle->instance], &i2cConfig, config->srcClock_Hz); in HAL_I2cSlaveInit() 179 LPI2C_MasterDeinit(s_i2cBases[i2cMasterHandle->instance]); in HAL_I2cMasterDeinit() 192 LPI2C_SlaveDeinit(s_i2cBases[i2cSlaveHandle->instance]); in HAL_I2cSlaveDeinit() 241 …return HAL_I2cGetStatus(LPI2C_MasterTransferBlocking(s_i2cBases[i2cMasterHandle->instance], &trans… in HAL_I2cMasterTransferBlocking() 256 …LPI2C_MasterTransferCreateHandle(s_i2cBases[i2cMasterHandle->instance], &i2cMasterHandle->hardware… in HAL_I2cMasterTransferInstallCallback() 279 return HAL_I2cGetStatus(LPI2C_MasterTransferNonBlocking(s_i2cBases[i2cMasterHandle->instance], in HAL_I2cMasterTransferNonBlocking() 292 …LPI2C_MasterTransferGetCount(s_i2cBases[i2cMasterHandle->instance], &i2cMasterHandle->hardwareHand… in HAL_I2cMasterTransferGetCount() 302 …LPI2C_MasterTransferAbort(s_i2cBases[i2cMasterHandle->instance], &i2cMasterHandle->hardwareHandle); in HAL_I2cMasterTransferAbort() [all …]
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/ii2c/ |
D | fsl_i2c.c | 115 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 126 static void *s_i2cHandle[ARRAY_SIZE(s_i2cBases)]; 143 for (instance = 0; instance < ARRAY_SIZE(s_i2cBases); instance++) in I2C_GetInstance() 145 if (s_i2cBases[instance] == base) in I2C_GetInstance() 151 assert(instance < ARRAY_SIZE(s_i2cBases)); in I2C_GetInstance()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/i2c/ |
D | fsl_i2c.c | 135 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 150 for (instance = 0; instance < ARRAY_SIZE(s_i2cBases); instance++) in I2C_GetInstance() 152 if (s_i2cBases[instance] == base) in I2C_GetInstance() 158 assert(instance < ARRAY_SIZE(s_i2cBases)); in I2C_GetInstance() 2383 I2C_TransferCommonIRQHandler(s_i2cBases[instance], s_i2cHandle[instance]); in I2C0_I2C1_DriverIRQHandler()
|
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_i2c/ |
D | fsl_i2c.c | 54 static I2C_Type *const s_i2cBases[] = I2C_BASE_PTRS; variable 106 for (instance = 0U; instance < ARRAY_SIZE(s_i2cBases); instance++) in I2C_GetInstance() 108 if (s_i2cBases[instance] == base) in I2C_GetInstance() 114 assert(instance < ARRAY_SIZE(s_i2cBases)); in I2C_GetInstance()
|