libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
I2C event -> task shortcuts

The effect of activated shortcut is, that upon I2C event triggering, the hardware will automatically start chosen task without intervention of the software. More...

Collaboration diagram for I2C event -> task shortcuts:

Macros

#define I2C_SHORTS_BB_SUSPEND   (1 << 0)
 On byte boundary, activate suspend task. More...
 
#define I2C_SHORTS_BB_STOP   (1 << 1)
 On byte boundary, activate stop task. More...
 

Detailed Description

The effect of activated shortcut is, that upon I2C event triggering, the hardware will automatically start chosen task without intervention of the software.

Macro Definition Documentation

◆ I2C_SHORTS_BB_STOP

#define I2C_SHORTS_BB_STOP   (1 << 1)

On byte boundary, activate stop task.

Definition at line 88 of file common/i2c.h.

◆ I2C_SHORTS_BB_SUSPEND

#define I2C_SHORTS_BB_SUSPEND   (1 << 0)

On byte boundary, activate suspend task.

Definition at line 85 of file common/i2c.h.