Macros
Read Write Direction
Peripheral Driver » LL Driver » I2C » Defines » I2C Exported Constants

## Macros
#define | LL_I2C_DIRECTION_NONE 0x00000000U
#define | LL_I2C_DIRECTION_WRITE I2C_INTR_RX_FULL
#define | LL_I2C_DIRECTION_READ I2C_INTR_RD_REQ
#define | LL_I2C_DIRECTION_ERROR I2C_INTR_RX_FULL | I2C_INTR_RD_REQ

## Detailed Description

## Macro Definition Documentation

## ◆ LL_I2C_DIRECTION_ERROR

#define LL_I2C_DIRECTION_ERROR I2C_INTR_RX_FULL | I2C_INTR_RD_REQ

Transfer request error.

Definition at line 214 of file gr55xx_ll_i2c.h.

## ◆ LL_I2C_DIRECTION_NONE

#define LL_I2C_DIRECTION_NONE 0x00000000U

No transfer request by master.

Definition at line 211 of file gr55xx_ll_i2c.h.

## ◆ LL_I2C_DIRECTION_READ

#define LL_I2C_DIRECTION_READ I2C_INTR_RD_REQ

Read transfer request by master, slave enters transmitter mode.

Definition at line 213 of file gr55xx_ll_i2c.h.

## ◆ LL_I2C_DIRECTION_WRITE

#define LL_I2C_DIRECTION_WRITE I2C_INTR_RX_FULL

Write transfer request by master, slave enters receiver mode.

Definition at line 212 of file gr55xx_ll_i2c.h.