|
|
status_t | LPI2C_DRV_MasterInit (uint32_t instance, const lpi2c_master_user_config_t *userConfigPtr, lpi2c_master_state_t *master) |
| Initialize the LPI2C master mode driver. More...
|
|
status_t | LPI2C_DRV_MasterDeinit (uint32_t instance) |
| De-initialize the LPI2C master mode driver. More...
|
|
void | LPI2C_DRV_MasterGetBaudRate (uint32_t instance, lpi2c_baud_rate_params_t *baudRate) |
| Get the currently configured baud rate. More...
|
|
void | LPI2C_DRV_MasterSetBaudRate (uint32_t instance, const lpi2c_mode_t operatingMode, const lpi2c_baud_rate_params_t baudRate) |
| Set the baud rate for any subsequent I2C communication. More...
|
|
void | LPI2C_DRV_MasterSetSlaveAddr (uint32_t instance, const uint16_t address, const bool is10bitAddr) |
| Set the slave address for any subsequent I2C communication. More...
|
|
status_t | LPI2C_DRV_MasterSendData (uint32_t instance, const uint8_t *txBuff, uint32_t txSize, bool sendStop) |
| Perform a non-blocking send transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_MasterSendDataBlocking (uint32_t instance, const uint8_t *txBuff, uint32_t txSize, bool sendStop, uint32_t timeout) |
| Perform a blocking send transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_MasterAbortTransferData (uint32_t instance) |
| Abort a non-blocking I2C Master transmission or reception. More...
|
|
status_t | LPI2C_DRV_MasterReceiveData (uint32_t instance, uint8_t *rxBuff, uint32_t rxSize, bool sendStop) |
| Perform a non-blocking receive transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_MasterReceiveDataBlocking (uint32_t instance, uint8_t *rxBuff, uint32_t rxSize, bool sendStop, uint32_t timeout) |
| Perform a blocking receive transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_MasterGetTransferStatus (uint32_t instance, uint32_t *bytesRemaining) |
| Return the current status of the I2C master transfer. More...
|
|
void | LPI2C_DRV_MasterIRQHandler (uint32_t instance) |
| Handle master operation when I2C interrupt occurs. More...
|
|
status_t | LPI2C_DRV_SlaveInit (uint32_t instance, const lpi2c_slave_user_config_t *userConfigPtr, lpi2c_slave_state_t *slave) |
| Initialize the I2C slave mode driver. More...
|
|
status_t | LPI2C_DRV_SlaveDeinit (uint32_t instance) |
| De-initialize the I2C slave mode driver. More...
|
|
status_t | LPI2C_DRV_SlaveSetTxBuffer (uint32_t instance, const uint8_t *txBuff, uint32_t txSize) |
| Provide a buffer for transmitting data. More...
|
|
status_t | LPI2C_DRV_SlaveSetRxBuffer (uint32_t instance, uint8_t *rxBuff, uint32_t rxSize) |
| Provide a buffer for receiving data. More...
|
|
status_t | LPI2C_DRV_SlaveSendData (uint32_t instance, const uint8_t *txBuff, uint32_t txSize) |
| Perform a non-blocking send transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_SlaveSendDataBlocking (uint32_t instance, const uint8_t *txBuff, uint32_t txSize, uint32_t timeout) |
| Perform a blocking send transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_SlaveReceiveData (uint32_t instance, uint8_t *rxBuff, uint32_t rxSize) |
| Perform a non-blocking receive transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_SlaveReceiveDataBlocking (uint32_t instance, uint8_t *rxBuff, uint32_t rxSize, uint32_t timeout) |
| Perform a blocking receive transaction on the I2C bus. More...
|
|
status_t | LPI2C_DRV_SlaveGetTransferStatus (uint32_t instance, uint32_t *bytesRemaining) |
| Return the current status of the I2C slave transfer. More...
|
|
status_t | LPI2C_DRV_SlaveAbortTransferData (uint32_t instance) |
| Abort a non-blocking I2C Master transmission or reception. More...
|
|
void | LPI2C_DRV_SlaveIRQHandler (uint32_t instance) |
| Handle slave operation when I2C interrupt occurs. More...
|
|
void | LPI2C_DRV_ModuleIRQHandler (uint32_t instance) |
| Handler for both slave and master operation when I2C interrupt occurs. More...
|
|