STM32L486xx HAL User Manual
Defines
Get Flags Defines
I2C Exported Constants

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

Defines

#define LL_I2C_ISR_TXE   I2C_ISR_TXE
#define LL_I2C_ISR_TXIS   I2C_ISR_TXIS
#define LL_I2C_ISR_RXNE   I2C_ISR_RXNE
#define LL_I2C_ISR_ADDR   I2C_ISR_ADDR
#define LL_I2C_ISR_NACKF   I2C_ISR_NACKF
#define LL_I2C_ISR_STOPF   I2C_ISR_STOPF
#define LL_I2C_ISR_TC   I2C_ISR_TC
#define LL_I2C_ISR_TCR   I2C_ISR_TCR
#define LL_I2C_ISR_BERR   I2C_ISR_BERR
#define LL_I2C_ISR_ARLO   I2C_ISR_ARLO
#define LL_I2C_ISR_OVR   I2C_ISR_OVR
#define LL_I2C_ISR_PECERR   I2C_ISR_PECERR
#define LL_I2C_ISR_TIMEOUT   I2C_ISR_TIMEOUT
#define LL_I2C_ISR_ALERT   I2C_ISR_ALERT
#define LL_I2C_ISR_BUSY   I2C_ISR_BUSY

Detailed Description

Flags defines which can be used with LL_I2C_ReadReg function.


Define Documentation

#define LL_I2C_ISR_ADDR   I2C_ISR_ADDR

Address matched (slave mode)

Definition at line 155 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_ALERT   I2C_ISR_ALERT

SMBus alert (SMBus mode)

Definition at line 165 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_ARLO   I2C_ISR_ARLO

Arbitration lost

Definition at line 161 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_BERR   I2C_ISR_BERR

Bus error

Definition at line 160 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_BUSY   I2C_ISR_BUSY

Bus busy

Definition at line 166 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_NACKF   I2C_ISR_NACKF

Not Acknowledge received flag

Definition at line 156 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_OVR   I2C_ISR_OVR

Overrun/Underrun (slave mode)

Definition at line 162 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_PECERR   I2C_ISR_PECERR

PEC Error in reception (SMBus mode)

Definition at line 163 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_RXNE   I2C_ISR_RXNE

Receive data register not empty

Definition at line 154 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_STOPF   I2C_ISR_STOPF

Stop detection flag

Definition at line 157 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_TC   I2C_ISR_TC

Transfer Complete (master mode)

Definition at line 158 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_TCR   I2C_ISR_TCR

Transfer Complete Reload

Definition at line 159 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_TIMEOUT   I2C_ISR_TIMEOUT

Timeout detection flag (SMBus mode)

Definition at line 164 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_TXE   I2C_ISR_TXE

Transmit data register empty

Definition at line 152 of file stm32l4xx_ll_i2c.h.

#define LL_I2C_ISR_TXIS   I2C_ISR_TXIS

Transmit interrupt status

Definition at line 153 of file stm32l4xx_ll_i2c.h.