CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
I2C Control Codes

Specify operation parameters and various controls. More...

Macros

#define ARM_I2C_OWN_ADDRESS   (0x01UL)
 Set Own Slave Address; arg = address.
 
#define ARM_I2C_BUS_SPEED   (0x02UL)
 Set Bus Speed; arg = speed.
 
#define ARM_I2C_BUS_CLEAR   (0x03UL)
 Execute Bus clear: send nine clock pulses.
 
#define ARM_I2C_ABORT_TRANSFER   (0x04UL)
 Abort Master/Slave Transmit/Receive.
 

Description

Specify operation parameters and various controls.

Macro Definition Documentation

◆ ARM_I2C_OWN_ADDRESS

#define ARM_I2C_OWN_ADDRESS   (0x01UL)

Set Own Slave Address; arg = address.

See also
ARM_I2C_Control

◆ ARM_I2C_BUS_SPEED

#define ARM_I2C_BUS_SPEED   (0x02UL)

Set Bus Speed; arg = speed.

Speed is specified using the following values: I2C Bus Speed

See also
ARM_I2C_Control

◆ ARM_I2C_BUS_CLEAR

#define ARM_I2C_BUS_CLEAR   (0x03UL)

Execute Bus clear: send nine clock pulses.

See also
ARM_I2C_Control

◆ ARM_I2C_ABORT_TRANSFER

#define ARM_I2C_ABORT_TRANSFER   (0x04UL)

Abort Master/Slave Transmit/Receive.

See also
ARM_I2C_Control