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.

## ◆ LL_I2C_DIRECTION_NONE

#define LL_I2C_DIRECTION_NONE 0x00000000U

No transfer request by master.

## ◆ LL_I2C_DIRECTION_READ

#define LL_I2C_DIRECTION_READ I2C_INTR_RD_REQ

Read transfer request by master, slave enters transmitter mode.

## ◆ LL_I2C_DIRECTION_WRITE

#define LL_I2C_DIRECTION_WRITE I2C_INTR_RX_FULL

Write transfer request by master, slave enters receiver mode.