Searched refs:i2cSlaveHandle (Results 1 – 6 of 6) sorted by relevance
/hal_nxp-3.6.0/mcux/mcux-sdk/components/i2c/ |
D | fsl_adapter_lpc_i2c.c | 111 hal_i2c_slave_t *i2cSlaveHandle; in HAL_I2cSlaveCallback() local 114 i2cSlaveHandle = (hal_i2c_slave_t *)callbackParam; in HAL_I2cSlaveCallback() 116 if (i2cSlaveHandle->callback) in HAL_I2cSlaveCallback() 118 i2cSlaveHandle->transfer.event = (hal_i2c_slave_transfer_event_t)xfer->event; in HAL_I2cSlaveCallback() 121 i2cSlaveHandle->transfer.data = (uint8_t *)xfer->txData; in HAL_I2cSlaveCallback() 122 i2cSlaveHandle->transfer.dataSize = xfer->txSize; in HAL_I2cSlaveCallback() 126 i2cSlaveHandle->transfer.data = xfer->rxData; in HAL_I2cSlaveCallback() 127 i2cSlaveHandle->transfer.dataSize = xfer->rxSize; in HAL_I2cSlaveCallback() 130 i2cSlaveHandle->transfer.completionStatus = HAL_I2cGetStatus(xfer->completionStatus); in HAL_I2cSlaveCallback() 131 i2cSlaveHandle->transfer.transferredCount = xfer->transferredCount; in HAL_I2cSlaveCallback() [all …]
|
D | fsl_adapter_flexcomm_i2c.c | 112 hal_i2c_slave_t *i2cSlaveHandle; in HAL_I2cSlaveCallback() local 115 i2cSlaveHandle = (hal_i2c_slave_t *)callbackParam; in HAL_I2cSlaveCallback() 117 if (NULL != i2cSlaveHandle->callback) in HAL_I2cSlaveCallback() 119 i2cSlaveHandle->transfer.event = (hal_i2c_slave_transfer_event_t)xfer->event; in HAL_I2cSlaveCallback() 120 i2cSlaveHandle->transfer.completionStatus = HAL_I2cGetStatus(xfer->completionStatus); in HAL_I2cSlaveCallback() 121 i2cSlaveHandle->transfer.transferredCount = xfer->transferredCount; in HAL_I2cSlaveCallback() 122 i2cSlaveHandle->callback(i2cSlaveHandle, &i2cSlaveHandle->transfer, in HAL_I2cSlaveCallback() 123 i2cSlaveHandle->callbackParam); /* Enter I2c slave callback */ in HAL_I2cSlaveCallback() 127 xfer->txData = i2cSlaveHandle->transfer.data; in HAL_I2cSlaveCallback() 128 xfer->txSize = i2cSlaveHandle->transfer.dataSize; in HAL_I2cSlaveCallback() [all …]
|
D | fsl_adapter_i2c.c | 116 hal_i2c_slave_t *i2cSlaveHandle; in HAL_I2cSlaveCallback() local 119 i2cSlaveHandle = (hal_i2c_slave_t *)callbackParam; in HAL_I2cSlaveCallback() 121 if (NULL != i2cSlaveHandle->callback) in HAL_I2cSlaveCallback() 123 i2cSlaveHandle->transfer.event = (hal_i2c_slave_transfer_event_t)xfer->event; in HAL_I2cSlaveCallback() 124 i2cSlaveHandle->transfer.data = xfer->data; in HAL_I2cSlaveCallback() 125 i2cSlaveHandle->transfer.dataSize = xfer->dataSize; in HAL_I2cSlaveCallback() 126 i2cSlaveHandle->transfer.completionStatus = HAL_I2cGetStatus(xfer->completionStatus); in HAL_I2cSlaveCallback() 127 i2cSlaveHandle->transfer.transferredCount = xfer->transferredCount; in HAL_I2cSlaveCallback() 128 …i2cSlaveHandle->callback(i2cSlaveHandle, &i2cSlaveHandle->transfer, i2cSlaveHandle->callbackParam); in HAL_I2cSlaveCallback() 129 xfer->data = i2cSlaveHandle->transfer.data; in HAL_I2cSlaveCallback() [all …]
|
D | fsl_adapter_ii2c.c | 116 hal_i2c_slave_t *i2cSlaveHandle; in HAL_I2cSlaveCallback() local 119 i2cSlaveHandle = (hal_i2c_slave_t *)callbackParam; in HAL_I2cSlaveCallback() 121 if (NULL != i2cSlaveHandle->callback) in HAL_I2cSlaveCallback() 123 i2cSlaveHandle->transfer.event = (hal_i2c_slave_transfer_event_t)xfer->event; in HAL_I2cSlaveCallback() 124 i2cSlaveHandle->transfer.data = xfer->data; in HAL_I2cSlaveCallback() 125 i2cSlaveHandle->transfer.dataSize = xfer->dataSize; in HAL_I2cSlaveCallback() 126 i2cSlaveHandle->transfer.completionStatus = HAL_I2cGetStatus(xfer->completionStatus); in HAL_I2cSlaveCallback() 127 i2cSlaveHandle->transfer.transferredCount = xfer->transferredCount; in HAL_I2cSlaveCallback() 128 …i2cSlaveHandle->callback(i2cSlaveHandle, &i2cSlaveHandle->transfer, i2cSlaveHandle->callbackParam); in HAL_I2cSlaveCallback() 129 xfer->data = i2cSlaveHandle->transfer.data; in HAL_I2cSlaveCallback() [all …]
|
D | fsl_adapter_i3c.c | 115 hal_i3c_slave_t *i2cSlaveHandle; 118 i2cSlaveHandle = (hal_i3c_slave_t *)callbackParam; 120 if (i2cSlaveHandle->callback) 122 i2cSlaveHandle->transfer.event = (hal_i3c_slave_transfer_event_t)xfer->event; 123 i2cSlaveHandle->transfer.data = xfer->data; 124 i2cSlaveHandle->transfer.dataSize = xfer->dataSize; 125 i2cSlaveHandle->transfer.completionStatus = HAL_I2cGetStatus(xfer->completionStatus); 126 i2cSlaveHandle->transfer.transferredCount = xfer->transferredCount; 127 …i2cSlaveHandle->callback(i2cSlaveHandle, &i2cSlaveHandle->transfer, i2cSlaveHandle->callbackParam); 128 xfer->data = i2cSlaveHandle->transfer.data; [all …]
|
D | fsl_adapter_lpi2c.c | 111 hal_i2c_slave_t *i2cSlaveHandle; in HAL_I2cSlaveCallback() local 114 i2cSlaveHandle = (hal_i2c_slave_t *)callbackParam; in HAL_I2cSlaveCallback() 116 if (NULL != i2cSlaveHandle->callback) in HAL_I2cSlaveCallback() 118 i2cSlaveHandle->transfer.event = (hal_i2c_slave_transfer_event_t)xfer->event; in HAL_I2cSlaveCallback() 119 i2cSlaveHandle->transfer.data = xfer->data; in HAL_I2cSlaveCallback() 120 i2cSlaveHandle->transfer.dataSize = xfer->dataSize; in HAL_I2cSlaveCallback() 121 i2cSlaveHandle->transfer.completionStatus = HAL_I2cGetStatus(xfer->completionStatus); in HAL_I2cSlaveCallback() 122 i2cSlaveHandle->transfer.transferredCount = xfer->transferredCount; in HAL_I2cSlaveCallback() 123 …i2cSlaveHandle->callback(i2cSlaveHandle, &i2cSlaveHandle->transfer, i2cSlaveHandle->callbackParam); in HAL_I2cSlaveCallback() 124 xfer->data = i2cSlaveHandle->transfer.data; in HAL_I2cSlaveCallback() [all …]
|