Macros
Collaboration diagram for I2C_flags_definition:

Macros

#define I2C_FLAG_ADD10   ((uint32_t)0x10000008)
 
#define I2C_FLAG_ADD10   ((uint32_t)0x10000008)
 
#define I2C_FLAG_ADDR   ((uint32_t)0x10000002)
 
#define I2C_FLAG_ADDR   ((uint32_t)0x10000002)
 
#define I2C_FLAG_ADDR   I2C_ISR_ADDR
 
#define I2C_FLAG_AF   ((uint32_t)0x10000400)
 
#define I2C_FLAG_AF   ((uint32_t)0x10000400)
 
#define I2C_FLAG_ALERT   I2C_ISR_ALERT
 
#define I2C_FLAG_ARLO   ((uint32_t)0x10000200)
 
#define I2C_FLAG_ARLO   ((uint32_t)0x10000200)
 
#define I2C_FLAG_ARLO   I2C_ISR_ARLO
 
#define I2C_FLAG_BERR   ((uint32_t)0x10000100)
 
#define I2C_FLAG_BERR   ((uint32_t)0x10000100)
 
#define I2C_FLAG_BERR   I2C_ISR_BERR
 
#define I2C_FLAG_BTF   ((uint32_t)0x10000004)
 
#define I2C_FLAG_BTF   ((uint32_t)0x10000004)
 
#define I2C_FLAG_BUSY   ((uint32_t)0x00020000)
 
#define I2C_FLAG_BUSY   ((uint32_t)0x00020000)
 
#define I2C_FLAG_BUSY   I2C_ISR_BUSY
 
#define I2C_FLAG_DUALF   ((uint32_t)0x00800000)
 SR2 register flags. More...
 
#define I2C_FLAG_DUALF   ((uint32_t)0x00800000)
 SR2 register flags. More...
 
#define I2C_FLAG_GENCALL   ((uint32_t)0x00100000)
 
#define I2C_FLAG_GENCALL   ((uint32_t)0x00100000)
 
#define I2C_FLAG_MSL   ((uint32_t)0x00010000)
 
#define I2C_FLAG_MSL   ((uint32_t)0x00010000)
 
#define I2C_FLAG_NACKF   I2C_ISR_NACKF
 
#define I2C_FLAG_OVR   ((uint32_t)0x10000800)
 
#define I2C_FLAG_OVR   ((uint32_t)0x10000800)
 
#define I2C_FLAG_OVR   I2C_ISR_OVR
 
#define I2C_FLAG_PECERR   ((uint32_t)0x10001000)
 
#define I2C_FLAG_PECERR   ((uint32_t)0x10001000)
 
#define I2C_FLAG_PECERR   I2C_ISR_PECERR
 
#define I2C_FLAG_RXNE   ((uint32_t)0x10000040)
 
#define I2C_FLAG_RXNE   ((uint32_t)0x10000040)
 
#define I2C_FLAG_RXNE   I2C_ISR_RXNE
 
#define I2C_FLAG_SB   ((uint32_t)0x10000001)
 
#define I2C_FLAG_SB   ((uint32_t)0x10000001)
 
#define I2C_FLAG_SMBALERT   ((uint32_t)0x10008000)
 SR1 register flags. More...
 
#define I2C_FLAG_SMBALERT   ((uint32_t)0x10008000)
 SR1 register flags. More...
 
#define I2C_FLAG_SMBDEFAULT   ((uint32_t)0x00200000)
 
#define I2C_FLAG_SMBDEFAULT   ((uint32_t)0x00200000)
 
#define I2C_FLAG_SMBHOST   ((uint32_t)0x00400000)
 
#define I2C_FLAG_SMBHOST   ((uint32_t)0x00400000)
 
#define I2C_FLAG_STOPF   ((uint32_t)0x10000010)
 
#define I2C_FLAG_STOPF   ((uint32_t)0x10000010)
 
#define I2C_FLAG_STOPF   I2C_ISR_STOPF
 
#define I2C_FLAG_TC   I2C_ISR_TC
 
#define I2C_FLAG_TCR   I2C_ISR_TCR
 
#define I2C_FLAG_TIMEOUT   ((uint32_t)0x10004000)
 
#define I2C_FLAG_TIMEOUT   ((uint32_t)0x10004000)
 
#define I2C_FLAG_TIMEOUT   I2C_ISR_TIMEOUT
 
#define I2C_FLAG_TRA   ((uint32_t)0x00040000)
 
#define I2C_FLAG_TRA   ((uint32_t)0x00040000)
 
#define I2C_FLAG_TXE   ((uint32_t)0x10000080)
 
#define I2C_FLAG_TXE   ((uint32_t)0x10000080)
 
#define I2C_FLAG_TXE   I2C_ISR_TXE
 
#define I2C_FLAG_TXIS   I2C_ISR_TXIS
 
#define IS_I2C_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint16_t)0x20FF) == 0x00) && ((FLAG) != (uint16_t)0x00))
 
#define IS_I2C_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint16_t)0x20FF) == 0x00) && ((FLAG) != (uint16_t)0x00))
 
#define IS_I2C_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint32_t)0xFFFF4000) == 0x00) && ((FLAG) != 0x00))
 
#define IS_I2C_GET_FLAG(FLAG)
 
#define IS_I2C_GET_FLAG(FLAG)
 
#define IS_I2C_GET_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define I2C_FLAG_ADD10   ((uint32_t)0x10000008)

Definition at line 280 of file stm32f10x_i2c.h.

#define I2C_FLAG_ADD10   ((uint32_t)0x10000008)

Definition at line 294 of file stm32f4xx_i2c.h.

#define I2C_FLAG_ADDR   ((uint32_t)0x10000002)

Definition at line 282 of file stm32f10x_i2c.h.

#define I2C_FLAG_ADDR   ((uint32_t)0x10000002)

Definition at line 296 of file stm32f4xx_i2c.h.

#define I2C_FLAG_ADDR   I2C_ISR_ADDR

Definition at line 298 of file stm32f30x_i2c.h.

#define I2C_FLAG_AF   ((uint32_t)0x10000400)

Definition at line 274 of file stm32f10x_i2c.h.

#define I2C_FLAG_AF   ((uint32_t)0x10000400)

Definition at line 288 of file stm32f4xx_i2c.h.

#define I2C_FLAG_ALERT   I2C_ISR_ALERT

Definition at line 308 of file stm32f30x_i2c.h.

#define I2C_FLAG_ARLO   ((uint32_t)0x10000200)

Definition at line 275 of file stm32f10x_i2c.h.

#define I2C_FLAG_ARLO   ((uint32_t)0x10000200)

Definition at line 289 of file stm32f4xx_i2c.h.

#define I2C_FLAG_ARLO   I2C_ISR_ARLO

Definition at line 304 of file stm32f30x_i2c.h.

#define I2C_FLAG_BERR   ((uint32_t)0x10000100)

Definition at line 276 of file stm32f10x_i2c.h.

#define I2C_FLAG_BERR   ((uint32_t)0x10000100)

Definition at line 290 of file stm32f4xx_i2c.h.

#define I2C_FLAG_BERR   I2C_ISR_BERR

Definition at line 303 of file stm32f30x_i2c.h.

#define I2C_FLAG_BTF   ((uint32_t)0x10000004)

Definition at line 281 of file stm32f10x_i2c.h.

#define I2C_FLAG_BTF   ((uint32_t)0x10000004)

Definition at line 295 of file stm32f4xx_i2c.h.

#define I2C_FLAG_BUSY   ((uint32_t)0x00020000)

Definition at line 263 of file stm32f10x_i2c.h.

#define I2C_FLAG_BUSY   ((uint32_t)0x00020000)

Definition at line 277 of file stm32f4xx_i2c.h.

#define I2C_FLAG_BUSY   I2C_ISR_BUSY

Definition at line 309 of file stm32f30x_i2c.h.

#define I2C_FLAG_DUALF   ((uint32_t)0x00800000)

SR2 register flags.

Definition at line 258 of file stm32f10x_i2c.h.

#define I2C_FLAG_DUALF   ((uint32_t)0x00800000)

SR2 register flags.

Definition at line 272 of file stm32f4xx_i2c.h.

#define I2C_FLAG_GENCALL   ((uint32_t)0x00100000)

Definition at line 261 of file stm32f10x_i2c.h.

#define I2C_FLAG_GENCALL   ((uint32_t)0x00100000)

Definition at line 275 of file stm32f4xx_i2c.h.

#define I2C_FLAG_MSL   ((uint32_t)0x00010000)

Definition at line 264 of file stm32f10x_i2c.h.

#define I2C_FLAG_MSL   ((uint32_t)0x00010000)

Definition at line 278 of file stm32f4xx_i2c.h.

#define I2C_FLAG_NACKF   I2C_ISR_NACKF

Definition at line 299 of file stm32f30x_i2c.h.

#define I2C_FLAG_OVR   ((uint32_t)0x10000800)

Definition at line 273 of file stm32f10x_i2c.h.

#define I2C_FLAG_OVR   ((uint32_t)0x10000800)

Definition at line 287 of file stm32f4xx_i2c.h.

#define I2C_FLAG_OVR   I2C_ISR_OVR

Definition at line 305 of file stm32f30x_i2c.h.

#define I2C_FLAG_PECERR   ((uint32_t)0x10001000)

Definition at line 272 of file stm32f10x_i2c.h.

#define I2C_FLAG_PECERR   ((uint32_t)0x10001000)

Definition at line 286 of file stm32f4xx_i2c.h.

#define I2C_FLAG_PECERR   I2C_ISR_PECERR

Definition at line 306 of file stm32f30x_i2c.h.

#define I2C_FLAG_RXNE   ((uint32_t)0x10000040)

Definition at line 278 of file stm32f10x_i2c.h.

#define I2C_FLAG_RXNE   ((uint32_t)0x10000040)

Definition at line 292 of file stm32f4xx_i2c.h.

#define I2C_FLAG_RXNE   I2C_ISR_RXNE

Definition at line 297 of file stm32f30x_i2c.h.

#define I2C_FLAG_SB   ((uint32_t)0x10000001)

Definition at line 283 of file stm32f10x_i2c.h.

#define I2C_FLAG_SB   ((uint32_t)0x10000001)

Definition at line 297 of file stm32f4xx_i2c.h.

#define I2C_FLAG_SMBALERT   ((uint32_t)0x10008000)

SR1 register flags.

Definition at line 270 of file stm32f10x_i2c.h.

#define I2C_FLAG_SMBALERT   ((uint32_t)0x10008000)

SR1 register flags.

Definition at line 284 of file stm32f4xx_i2c.h.

#define I2C_FLAG_SMBDEFAULT   ((uint32_t)0x00200000)

Definition at line 260 of file stm32f10x_i2c.h.

#define I2C_FLAG_SMBDEFAULT   ((uint32_t)0x00200000)

Definition at line 274 of file stm32f4xx_i2c.h.

#define I2C_FLAG_SMBHOST   ((uint32_t)0x00400000)

Definition at line 259 of file stm32f10x_i2c.h.

#define I2C_FLAG_SMBHOST   ((uint32_t)0x00400000)

Definition at line 273 of file stm32f4xx_i2c.h.

#define I2C_FLAG_STOPF   ((uint32_t)0x10000010)

Definition at line 279 of file stm32f10x_i2c.h.

#define I2C_FLAG_STOPF   ((uint32_t)0x10000010)

Definition at line 293 of file stm32f4xx_i2c.h.

#define I2C_FLAG_STOPF   I2C_ISR_STOPF

Definition at line 300 of file stm32f30x_i2c.h.

#define I2C_FLAG_TC   I2C_ISR_TC

Definition at line 301 of file stm32f30x_i2c.h.

#define I2C_FLAG_TCR   I2C_ISR_TCR

Definition at line 302 of file stm32f30x_i2c.h.

#define I2C_FLAG_TIMEOUT   ((uint32_t)0x10004000)

Definition at line 271 of file stm32f10x_i2c.h.

#define I2C_FLAG_TIMEOUT   ((uint32_t)0x10004000)

Definition at line 285 of file stm32f4xx_i2c.h.

#define I2C_FLAG_TIMEOUT   I2C_ISR_TIMEOUT

Definition at line 307 of file stm32f30x_i2c.h.

#define I2C_FLAG_TRA   ((uint32_t)0x00040000)

Definition at line 262 of file stm32f10x_i2c.h.

#define I2C_FLAG_TRA   ((uint32_t)0x00040000)

Definition at line 276 of file stm32f4xx_i2c.h.

#define I2C_FLAG_TXE   ((uint32_t)0x10000080)

Definition at line 277 of file stm32f10x_i2c.h.

#define I2C_FLAG_TXE   ((uint32_t)0x10000080)

Definition at line 291 of file stm32f4xx_i2c.h.

#define I2C_FLAG_TXE   I2C_ISR_TXE

Definition at line 295 of file stm32f30x_i2c.h.

#define I2C_FLAG_TXIS   I2C_ISR_TXIS

Definition at line 296 of file stm32f30x_i2c.h.

#define IS_I2C_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint16_t)0x20FF) == 0x00) && ((FLAG) != (uint16_t)0x00))

Definition at line 285 of file stm32f10x_i2c.h.

#define IS_I2C_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint16_t)0x20FF) == 0x00) && ((FLAG) != (uint16_t)0x00))

Definition at line 299 of file stm32f4xx_i2c.h.

#define IS_I2C_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint32_t)0xFFFF4000) == 0x00) && ((FLAG) != 0x00))

Definition at line 311 of file stm32f30x_i2c.h.

#define IS_I2C_GET_FLAG (   FLAG)
Value:
(((FLAG) == I2C_FLAG_DUALF) || ((FLAG) == I2C_FLAG_SMBHOST) || \
((FLAG) == I2C_FLAG_SMBDEFAULT) || ((FLAG) == I2C_FLAG_GENCALL) || \
((FLAG) == I2C_FLAG_TRA) || ((FLAG) == I2C_FLAG_BUSY) || \
((FLAG) == I2C_FLAG_MSL) || ((FLAG) == I2C_FLAG_SMBALERT) || \
((FLAG) == I2C_FLAG_TIMEOUT) || ((FLAG) == I2C_FLAG_PECERR) || \
((FLAG) == I2C_FLAG_OVR) || ((FLAG) == I2C_FLAG_AF) || \
((FLAG) == I2C_FLAG_ARLO) || ((FLAG) == I2C_FLAG_BERR) || \
((FLAG) == I2C_FLAG_TXE) || ((FLAG) == I2C_FLAG_RXNE) || \
((FLAG) == I2C_FLAG_STOPF) || ((FLAG) == I2C_FLAG_ADD10) || \
((FLAG) == I2C_FLAG_BTF) || ((FLAG) == I2C_FLAG_ADDR) || \
((FLAG) == I2C_FLAG_SB))
#define I2C_FLAG_RXNE
#define I2C_FLAG_TIMEOUT
#define I2C_FLAG_BERR
#define I2C_FLAG_ADDR
#define I2C_FLAG_SMBHOST
#define I2C_FLAG_ARLO
#define I2C_FLAG_SMBALERT
SR1 register flags.
#define I2C_FLAG_DUALF
SR2 register flags.
#define I2C_FLAG_SMBDEFAULT
#define I2C_FLAG_GENCALL
#define I2C_FLAG_BUSY
#define I2C_FLAG_BTF
#define I2C_FLAG_OVR
#define I2C_FLAG_PECERR
#define I2C_FLAG_AF
#define I2C_FLAG_ADD10
#define I2C_FLAG_STOPF
#define I2C_FLAG_TRA
#define I2C_FLAG_MSL
#define I2C_FLAG_SB
#define I2C_FLAG_TXE

Definition at line 287 of file stm32f10x_i2c.h.

#define IS_I2C_GET_FLAG (   FLAG)
Value:
(((FLAG) == I2C_FLAG_DUALF) || ((FLAG) == I2C_FLAG_SMBHOST) || \
((FLAG) == I2C_FLAG_SMBDEFAULT) || ((FLAG) == I2C_FLAG_GENCALL) || \
((FLAG) == I2C_FLAG_TRA) || ((FLAG) == I2C_FLAG_BUSY) || \
((FLAG) == I2C_FLAG_MSL) || ((FLAG) == I2C_FLAG_SMBALERT) || \
((FLAG) == I2C_FLAG_TIMEOUT) || ((FLAG) == I2C_FLAG_PECERR) || \
((FLAG) == I2C_FLAG_OVR) || ((FLAG) == I2C_FLAG_AF) || \
((FLAG) == I2C_FLAG_ARLO) || ((FLAG) == I2C_FLAG_BERR) || \
((FLAG) == I2C_FLAG_TXE) || ((FLAG) == I2C_FLAG_RXNE) || \
((FLAG) == I2C_FLAG_STOPF) || ((FLAG) == I2C_FLAG_ADD10) || \
((FLAG) == I2C_FLAG_BTF) || ((FLAG) == I2C_FLAG_ADDR) || \
((FLAG) == I2C_FLAG_SB))
#define I2C_FLAG_RXNE
#define I2C_FLAG_TIMEOUT
#define I2C_FLAG_BERR
#define I2C_FLAG_ADDR
#define I2C_FLAG_SMBHOST
#define I2C_FLAG_ARLO
#define I2C_FLAG_SMBALERT
SR1 register flags.
#define I2C_FLAG_DUALF
SR2 register flags.
#define I2C_FLAG_SMBDEFAULT
#define I2C_FLAG_GENCALL
#define I2C_FLAG_BUSY
#define I2C_FLAG_BTF
#define I2C_FLAG_OVR
#define I2C_FLAG_PECERR
#define I2C_FLAG_AF
#define I2C_FLAG_ADD10
#define I2C_FLAG_STOPF
#define I2C_FLAG_TRA
#define I2C_FLAG_MSL
#define I2C_FLAG_SB
#define I2C_FLAG_TXE

Definition at line 301 of file stm32f4xx_i2c.h.

#define IS_I2C_GET_FLAG (   FLAG)
Value:
(((FLAG) == I2C_FLAG_TXE) || ((FLAG) == I2C_FLAG_TXIS) || \
((FLAG) == I2C_FLAG_RXNE) || ((FLAG) == I2C_FLAG_ADDR) || \
((FLAG) == I2C_FLAG_NACKF) || ((FLAG) == I2C_FLAG_STOPF) || \
((FLAG) == I2C_FLAG_TC) || ((FLAG) == I2C_FLAG_TCR) || \
((FLAG) == I2C_FLAG_BERR) || ((FLAG) == I2C_FLAG_ARLO) || \
((FLAG) == I2C_FLAG_OVR) || ((FLAG) == I2C_FLAG_PECERR) || \
((FLAG) == I2C_FLAG_TIMEOUT) || ((FLAG) == I2C_FLAG_ALERT) || \
((FLAG) == I2C_FLAG_BUSY))
#define I2C_FLAG_RXNE
#define I2C_FLAG_TIMEOUT
#define I2C_FLAG_BERR
#define I2C_FLAG_ADDR
#define I2C_FLAG_ARLO
#define I2C_FLAG_TCR
#define I2C_FLAG_NACKF
#define I2C_FLAG_BUSY
#define I2C_FLAG_TXIS
#define I2C_FLAG_OVR
#define I2C_FLAG_PECERR
#define I2C_FLAG_TC
#define I2C_FLAG_STOPF
#define I2C_FLAG_ALERT
#define I2C_FLAG_TXE

Definition at line 313 of file stm32f30x_i2c.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28