![]() |
CMSIS-Driver
Version 2.00
Peripheral Interface for Middleware and Application Code
|
Specify operation modes of the I2C interface. More...
Macros | |
#define | ARM_I2C_OWN_ADDRESS (0x01) |
Set Own Slave Address; arg = address. | |
#define | ARM_I2C_BUS_SPEED (0x02) |
Set Bus Speed; arg = speed. | |
#define | ARM_I2C_BUS_CLEAR (0x03) |
Execute Bus clear: send nine clock pulses. | |
#define | ARM_I2C_ABORT_TRANSFER (0x04) |
Abort Master/Slave Transmit/Receive. | |
Specify operation modes of the I2C interface.
The function ARM_SPI_Control with control = ARM_I2C_BUS_SPEED specifies the bus speed with arg of the I2C interface using the following values.
#define ARM_I2C_ABORT_TRANSFER (0x04) |
Abort Master/Slave Transmit/Receive.
#define ARM_I2C_BUS_CLEAR (0x03) |
Execute Bus clear: send nine clock pulses.
#define ARM_I2C_BUS_SPEED (0x02) |
Set Bus Speed; arg = speed.
#define ARM_I2C_OWN_ADDRESS (0x01) |
Set Own Slave Address; arg = address.