Macros
Get Flags Defines
Peripheral Driver » LL Driver » I2C » Defines » I2C Exported Constants

Flags definitions which can be used with LL_I2C_ReadReg function. More...

## Macros
#define | LL_I2C_INTR_STAT_SCL_STUCK_AT_LOW I2C_RAW_INT_STAT_SCL_STUCKLOW
#define | LL_I2C_INTR_STAT_MST_ON_HOLD I2C_RAW_INT_STAT_M_HOLD
#define | LL_I2C_INTR_STAT_RESTART_DET I2C_RAW_INT_STAT_RESTART_DET
#define | LL_I2C_INTR_STAT_GEN_CALL I2C_RAW_INT_STAT_GEN_CALL
#define | LL_I2C_INTR_STAT_START_DET I2C_RAW_INT_STAT_START_DET
#define | LL_I2C_INTR_STAT_STOP_DET I2C_RAW_INT_STAT_STOP_DET
#define | LL_I2C_INTR_STAT_ACTIVITY I2C_RAW_INT_STAT_ACTIVITY
#define | LL_I2C_INTR_STAT_RX_DONE I2C_RAW_INT_STAT_RX_DONE
#define | LL_I2C_INTR_STAT_TX_ABRT I2C_RAW_INT_STAT_TX_ABORT
#define | LL_I2C_INTR_STAT_RD_REQ I2C_RAW_INT_STAT_RD_REQ
#define | LL_I2C_INTR_STAT_TX_EMPTY I2C_RAW_INT_STAT_TX_EMPTY
#define | LL_I2C_INTR_STAT_TX_OVER I2C_RAW_INT_STAT_TX_OVER
#define | LL_I2C_INTR_STAT_RX_FULL I2C_RAW_INT_STAT_RX_FULL
#define | LL_I2C_INTR_STAT_RX_OVER I2C_RAW_INT_STAT_RX_OVER
#define | LL_I2C_INTR_STAT_RX_UNDER I2C_RAW_INT_STAT_RX_UNDER
#define | LL_I2C_ABRT_TX_FLUSH_CNT I2C_TX_ABORT_SRC_TX_FLUSH_CNT
#define | LL_I2C_ABRT_SDA_STUCK_AT_LOW I2C_TX_ABORT_SRC_ABORT_SDA_STUCK
#define | LL_I2C_ABRT_USER_ABRT I2C_TX_ABORT_SRC_ABORT_USER_ABORT
#define | LL_I2C_ABRT_SLVRD_INTX I2C_TX_ABORT_SRC_ABORT_SLVRD_INTX
#define | LL_I2C_ABRT_SLV_ARBLOST I2C_TX_ABORT_SRC_ABORT_S_ARBLOST
#define | LL_I2C_ABRT_SLVFLUSH_TXFIFO I2C_TX_ABORT_SRC_ABORT_SLVFLUSH_TXFIFO
#define | LL_I2C_ABRT_ARB_LOST I2C_TX_ABORT_SRC_ABORT_LOST
#define | LL_I2C_ABRT_MST_DIS I2C_TX_ABORT_SRC_ABORT_MASTER_DIS
#define | LL_I2C_ABRT_10B_RD_NORSTRT I2C_TX_ABORT_SRC_ABORT_10B_RD_NORSTR
#define | LL_I2C_ABRT_SBYTE_NORSTRT I2C_TX_ABORT_SRC_ABORT_SBYTE_NORSTRT
#define | LL_I2C_ABRT_HS_NORSTRT I2C_TX_ABORT_SRC_ABORT_HS_NORSTRT
#define | LL_I2C_ABRT_SBYTE_ACKDET I2C_TX_ABORT_SRC_ABORT_SBYTE_ACKDET
#define | LL_I2C_ABRT_HS_ACKDET I2C_TX_ABORT_SRC_ABORT_HS_ACKDET
#define | LL_I2C_ABRT_GCALL_READ I2C_TX_ABORT_SRC_ABORT_GCALL_RD
#define | LL_I2C_ABRT_GCALL_NOACK I2C_TX_ABORT_SRC_ABORT_GCALL_NOACK
#define | LL_I2C_ABRT_TXDATA_NOACK I2C_TX_ABORT_SRC_ABORT_TX_NOACK
#define | LL_I2C_ABRT_10ADDR2_NOACK I2C_TX_ABORT_SRC_ABORT_10B2_NOACK
#define | LL_I2C_ABRT_10ADDR1_NOACK I2C_TX_ABORT_SRC_ABORT_10B1_NOACK
#define | LL_I2C_ABRT_7B_ADDR_NOACK I2C_TX_ABORT_SRC_ABORT_7B_NOACK

## Detailed Description

Flags definitions which can be used with LL_I2C_ReadReg function.

## Macro Definition Documentation

## ◆ LL_I2C_ABRT_10ADDR1_NOACK

#define LL_I2C_ABRT_10ADDR1_NOACK I2C_TX_ABORT_SRC_ABORT_10B1_NOACK

Byte 1 of 10-Bit Address is not ACKed by any slave

Definition at line 142 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_10ADDR2_NOACK

#define LL_I2C_ABRT_10ADDR2_NOACK I2C_TX_ABORT_SRC_ABORT_10B2_NOACK

Byte 2 of 10-Bit Address is not ACKed by any slave

Definition at line 141 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_10B_RD_NORSTRT

#define LL_I2C_ABRT_10B_RD_NORSTRT I2C_TX_ABORT_SRC_ABORT_10B_RD_NORSTR

Master trying to read in 10-Bit addressing mode when RESTART disabled

Definition at line 133 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_7B_ADDR_NOACK

#define LL_I2C_ABRT_7B_ADDR_NOACK I2C_TX_ABORT_SRC_ABORT_7B_NOACK

7Bit Address is not ACKed by any slave

Definition at line 143 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_ARB_LOST

#define LL_I2C_ABRT_ARB_LOST I2C_TX_ABORT_SRC_ABORT_LOST

Master or Slave Transmitter lost arbitration

Definition at line 131 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_GCALL_NOACK

#define LL_I2C_ABRT_GCALL_NOACK I2C_TX_ABORT_SRC_ABORT_GCALL_NOACK

GCALL is not ACKed by any slave

Definition at line 139 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_GCALL_READ

#define LL_I2C_ABRT_GCALL_READ I2C_TX_ABORT_SRC_ABORT_GCALL_RD

GCALL is followed by read from bus

Definition at line 138 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_HS_ACKDET

#define LL_I2C_ABRT_HS_ACKDET I2C_TX_ABORT_SRC_ABORT_HS_ACKDET

HS Master code is ACKed in HS Mode

Definition at line 137 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_HS_NORSTRT

#define LL_I2C_ABRT_HS_NORSTRT I2C_TX_ABORT_SRC_ABORT_HS_NORSTRT

User trying to swidth Master to HS mode when RESTART disabled

Definition at line 135 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_MST_DIS

#define LL_I2C_ABRT_MST_DIS I2C_TX_ABORT_SRC_ABORT_MASTER_DIS

User intitating master operation when MASTER disabled

Definition at line 132 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_SBYTE_ACKDET

#define LL_I2C_ABRT_SBYTE_ACKDET I2C_TX_ABORT_SRC_ABORT_SBYTE_ACKDET

ACK detected for START byte

Definition at line 136 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_SBYTE_NORSTRT

#define LL_I2C_ABRT_SBYTE_NORSTRT I2C_TX_ABORT_SRC_ABORT_SBYTE_NORSTRT

User trying to send START byte when RESTART disabled

Definition at line 134 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_SDA_STUCK_AT_LOW

#define LL_I2C_ABRT_SDA_STUCK_AT_LOW I2C_TX_ABORT_SRC_ABORT_SDA_STUCK

The SDA stuck at low detected by master

Definition at line 126 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_SLV_ARBLOST

#define LL_I2C_ABRT_SLV_ARBLOST I2C_TX_ABORT_SRC_ABORT_S_ARBLOST

Slave lost arbitration to remote master

Definition at line 129 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_SLVFLUSH_TXFIFO

#define LL_I2C_ABRT_SLVFLUSH_TXFIFO I2C_TX_ABORT_SRC_ABORT_SLVFLUSH_TXFIFO

Slave flushes existing data in TX-FIFO upon getting read command

Definition at line 130 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_SLVRD_INTX

#define LL_I2C_ABRT_SLVRD_INTX I2C_TX_ABORT_SRC_ABORT_SLVRD_INTX

Slave trying to transmit to remote master in read mode

Definition at line 128 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_TX_FLUSH_CNT

#define LL_I2C_ABRT_TX_FLUSH_CNT I2C_TX_ABORT_SRC_TX_FLUSH_CNT

Indcates the number of TX FOFO data command

Definition at line 125 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_TXDATA_NOACK

#define LL_I2C_ABRT_TXDATA_NOACK I2C_TX_ABORT_SRC_ABORT_TX_NOACK

Transmitted data is not ACKed by addressed slave

Definition at line 140 of file ll_i2c.h.

## ◆ LL_I2C_ABRT_USER_ABRT

#define LL_I2C_ABRT_USER_ABRT I2C_TX_ABORT_SRC_ABORT_USER_ABORT

Transfer abort detected by master

Definition at line 127 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_ACTIVITY

#define LL_I2C_INTR_STAT_ACTIVITY I2C_RAW_INT_STAT_ACTIVITY

ACTIVITY interrupt flag

Definition at line 115 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_GEN_CALL

#define LL_I2C_INTR_STAT_GEN_CALL I2C_RAW_INT_STAT_GEN_CALL

GEN_CALL interrupt flag

Definition at line 112 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_MST_ON_HOLD

#define LL_I2C_INTR_STAT_MST_ON_HOLD I2C_RAW_INT_STAT_M_HOLD

MST_ON_HOLD interrupt flag

Definition at line 110 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_RD_REQ

#define LL_I2C_INTR_STAT_RD_REQ I2C_RAW_INT_STAT_RD_REQ

RD_REQ interrupt flag

Definition at line 118 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_RESTART_DET

#define LL_I2C_INTR_STAT_RESTART_DET I2C_RAW_INT_STAT_RESTART_DET

RESTART_DET interrupt flag

Definition at line 111 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_RX_DONE

#define LL_I2C_INTR_STAT_RX_DONE I2C_RAW_INT_STAT_RX_DONE

RX_DONE interrupt flag

Definition at line 116 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_RX_FULL

#define LL_I2C_INTR_STAT_RX_FULL I2C_RAW_INT_STAT_RX_FULL

RX_FULL interrupt flag

Definition at line 121 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_RX_OVER

#define LL_I2C_INTR_STAT_RX_OVER I2C_RAW_INT_STAT_RX_OVER

RX_OVER interrupt flag

Definition at line 122 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_RX_UNDER

#define LL_I2C_INTR_STAT_RX_UNDER I2C_RAW_INT_STAT_RX_UNDER

RX_UNDER interrupt flag

Definition at line 123 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_SCL_STUCK_AT_LOW

#define LL_I2C_INTR_STAT_SCL_STUCK_AT_LOW I2C_RAW_INT_STAT_SCL_STUCKLOW

SCL_STUCK_AT_LOW interrupt flag

Definition at line 109 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_START_DET

#define LL_I2C_INTR_STAT_START_DET I2C_RAW_INT_STAT_START_DET

START_DET interrupt flag

Definition at line 113 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_STOP_DET

#define LL_I2C_INTR_STAT_STOP_DET I2C_RAW_INT_STAT_STOP_DET

STOP_DET interrupt flag

Definition at line 114 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_TX_ABRT

#define LL_I2C_INTR_STAT_TX_ABRT I2C_RAW_INT_STAT_TX_ABORT

TX_ABRT interrupt flag

Definition at line 117 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_TX_EMPTY

#define LL_I2C_INTR_STAT_TX_EMPTY I2C_RAW_INT_STAT_TX_EMPTY

TX_EMPTY interrupt flag

Definition at line 119 of file ll_i2c.h.

## ◆ LL_I2C_INTR_STAT_TX_OVER

#define LL_I2C_INTR_STAT_TX_OVER I2C_RAW_INT_STAT_TX_OVER

TX_OVER interrupt flag

Definition at line 120 of file ll_i2c.h.