CMSIS-Driver  Version 2.6.0
Peripheral Interface for Middleware and Application Code
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
I2C Control Codes

Specify operation parameters and various controls. More...

Macros

#define ARM_I2C_OWN_ADDRESS   (0x01)
 Set Own Slave Address; arg = address. More...
 
#define ARM_I2C_BUS_SPEED   (0x02)
 Set Bus Speed; arg = speed. More...
 
#define ARM_I2C_BUS_CLEAR   (0x03)
 Execute Bus clear: send nine clock pulses. More...
 
#define ARM_I2C_ABORT_TRANSFER   (0x04)
 Abort Master/Slave Transmit/Receive. More...
 

Description

Specify operation parameters and various controls.

Macro Definition Documentation

#define ARM_I2C_OWN_ADDRESS   (0x01)

Set Own Slave Address; arg = address.

See Also
ARM_I2C_Control
#define ARM_I2C_BUS_SPEED   (0x02)

Set Bus Speed; arg = speed.

Speed is specified using the following values: I2C Bus Speed

See Also
ARM_I2C_Control
#define ARM_I2C_BUS_CLEAR   (0x03)

Execute Bus clear: send nine clock pulses.

See Also
ARM_I2C_Control
#define ARM_I2C_ABORT_TRANSFER   (0x04)

Abort Master/Slave Transmit/Receive.

See Also
ARM_I2C_Control