CMSIS-Driver
Version 2.7.1
Peripheral Interface for Middleware and Application Code
|
Functions | |
ARM_DRIVER_VERSION | ARM_I2C_GetVersion (void) |
Get driver version. More... | |
ARM_I2C_CAPABILITIES | ARM_I2C_GetCapabilities (void) |
Get driver capabilities. More... | |
int32_t | ARM_I2C_Initialize (ARM_I2C_SignalEvent_t cb_event) |
Initialize I2C Interface. More... | |
int32_t | ARM_I2C_Uninitialize (void) |
De-initialize I2C Interface. More... | |
int32_t | ARM_I2C_PowerControl (ARM_POWER_STATE state) |
Control I2C Interface Power. More... | |
int32_t | ARM_I2C_MasterTransmit (uint32_t addr, const uint8_t *data, uint32_t num, bool xfer_pending) |
Start transmitting data as I2C Master. More... | |
int32_t | ARM_I2C_MasterReceive (uint32_t addr, uint8_t *data, uint32_t num, bool xfer_pending) |
Start receiving data as I2C Master. More... | |
int32_t | ARM_I2C_SlaveTransmit (const uint8_t *data, uint32_t num) |
Start transmitting data as I2C Slave. More... | |
int32_t | ARM_I2C_SlaveReceive (uint8_t *data, uint32_t num) |
Start receiving data as I2C Slave. More... | |
int32_t | ARM_I2C_GetDataCount (void) |
Get transferred data count. More... | |
int32_t | ARM_I2C_Control (uint32_t control, uint32_t arg) |
Control I2C Interface. More... | |
ARM_I2C_STATUS | ARM_I2C_GetStatus (void) |
Get I2C status. More... | |
void | ARM_I2C_SignalEvent (uint32_t event) |
Signal I2C Events. More... | |