STM32F439xx 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_SR1_SB   I2C_SR1_SB
#define LL_I2C_SR1_ADDR   I2C_SR1_ADDR
#define LL_I2C_SR1_BTF   I2C_SR1_BTF
#define LL_I2C_SR1_ADD10   I2C_SR1_ADD10
#define LL_I2C_SR1_STOPF   I2C_SR1_STOPF
#define LL_I2C_SR1_RXNE   I2C_SR1_RXNE
#define LL_I2C_SR1_TXE   I2C_SR1_TXE
#define LL_I2C_SR1_BERR   I2C_SR1_BERR
#define LL_I2C_SR1_ARLO   I2C_SR1_ARLO
#define LL_I2C_SR1_AF   I2C_SR1_AF
#define LL_I2C_SR1_OVR   I2C_SR1_OVR
#define LL_I2C_SR1_PECERR   I2C_ISR_PECERR
#define LL_I2C_SR1_TIMEOUT   I2C_ISR_TIMEOUT
#define LL_I2C_SR1_SMALERT   I2C_ISR_SMALERT
#define LL_I2C_SR2_MSL   I2C_SR2_MSL
#define LL_I2C_SR2_BUSY   I2C_SR2_BUSY
#define LL_I2C_SR2_TRA   I2C_SR2_TRA
#define LL_I2C_SR2_GENCALL   I2C_SR2_GENCALL
#define LL_I2C_SR2_SMBDEFAULT   I2C_SR2_SMBDEFAULT
#define LL_I2C_SR2_SMBHOST   I2C_SR2_SMBHOST
#define LL_I2C_SR2_DUALF   I2C_SR2_DUALF

Detailed Description

Flags defines which can be used with LL_I2C_ReadReg function.


Define Documentation

#define LL_I2C_SR1_ADD10   I2C_SR1_ADD10

10-bit header sent (master mode)

Definition at line 150 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_ADDR   I2C_SR1_ADDR

Address sent (master mode) or Address matched flag (slave mode)

Definition at line 147 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_AF   I2C_SR1_AF

Acknowledge failure flag

Definition at line 156 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_ARLO   I2C_SR1_ARLO

Arbitration lost

Definition at line 155 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_BERR   I2C_SR1_BERR

Bus error

Definition at line 154 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_BTF   I2C_SR1_BTF

Byte Transfer Finished flag

Definition at line 149 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_OVR   I2C_SR1_OVR

Overrun/Underrun

Definition at line 157 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_PECERR   I2C_ISR_PECERR

PEC Error in reception (SMBus mode)

Definition at line 158 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_RXNE   I2C_SR1_RXNE

Data register not empty (receivers)

Definition at line 152 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_SB   I2C_SR1_SB

Start Bit (master mode)

Definition at line 146 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_SMALERT   I2C_ISR_SMALERT

SMBus alert (SMBus mode)

Definition at line 160 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_STOPF   I2C_SR1_STOPF

Stop detection flag (slave mode)

Definition at line 151 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_TIMEOUT   I2C_ISR_TIMEOUT

Timeout detection flag (SMBus mode)

Definition at line 159 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR1_TXE   I2C_SR1_TXE

Data register empty (transmitters)

Definition at line 153 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_BUSY   I2C_SR2_BUSY

Bus busy flag

Definition at line 162 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_DUALF   I2C_SR2_DUALF

Dual flag (Slave mode)

Definition at line 167 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_GENCALL   I2C_SR2_GENCALL

General call address (Slave mode)

Definition at line 164 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_MSL   I2C_SR2_MSL

Master/Slave flag

Definition at line 161 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_SMBDEFAULT   I2C_SR2_SMBDEFAULT

SMBus Device default address (Slave mode)

Definition at line 165 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_SMBHOST   I2C_SR2_SMBHOST

SMBus Host address (Slave mode)

Definition at line 166 of file stm32f4xx_ll_i2c.h.

#define LL_I2C_SR2_TRA   I2C_SR2_TRA

Transmitter/receiver direction

Definition at line 163 of file stm32f4xx_ll_i2c.h.