Macros
Collaboration diagram for I2C_interrupts_definition:

Macros

#define I2C_IT_ADD10   ((uint32_t)0x02000008)
 
#define I2C_IT_ADD10   ((uint32_t)0x02000008)
 
#define I2C_IT_ADDR   ((uint32_t)0x02000002)
 
#define I2C_IT_ADDR   ((uint32_t)0x02000002)
 
#define I2C_IT_ADDR   I2C_ISR_ADDR
 
#define I2C_IT_ADDRI   I2C_CR1_ADDRIE
 
#define I2C_IT_AF   ((uint32_t)0x01000400)
 
#define I2C_IT_AF   ((uint32_t)0x01000400)
 
#define I2C_IT_ALERT   I2C_ISR_ALERT
 
#define I2C_IT_ARLO   ((uint32_t)0x01000200)
 
#define I2C_IT_ARLO   ((uint32_t)0x01000200)
 
#define I2C_IT_ARLO   I2C_ISR_ARLO
 
#define I2C_IT_BERR   ((uint32_t)0x01000100)
 
#define I2C_IT_BERR   ((uint32_t)0x01000100)
 
#define I2C_IT_BERR   I2C_ISR_BERR
 
#define I2C_IT_BTF   ((uint32_t)0x02000004)
 
#define I2C_IT_BTF   ((uint32_t)0x02000004)
 
#define I2C_IT_BUF   ((uint16_t)0x0400)
 
#define I2C_IT_BUF   ((uint16_t)0x0400)
 
#define I2C_IT_ERR   ((uint16_t)0x0100)
 
#define I2C_IT_ERR   ((uint16_t)0x0100)
 
#define I2C_IT_ERRI   I2C_CR1_ERRIE
 
#define I2C_IT_EVT   ((uint16_t)0x0200)
 
#define I2C_IT_EVT   ((uint16_t)0x0200)
 
#define I2C_IT_NACKF   I2C_ISR_NACKF
 
#define I2C_IT_NACKI   I2C_CR1_NACKIE
 
#define I2C_IT_OVR   ((uint32_t)0x01000800)
 
#define I2C_IT_OVR   ((uint32_t)0x01000800)
 
#define I2C_IT_OVR   I2C_ISR_OVR
 
#define I2C_IT_PECERR   ((uint32_t)0x01001000)
 
#define I2C_IT_PECERR   ((uint32_t)0x01001000)
 
#define I2C_IT_PECERR   I2C_ISR_PECERR
 
#define I2C_IT_RXI   I2C_CR1_RXIE
 
#define I2C_IT_RXNE   ((uint32_t)0x06000040)
 
#define I2C_IT_RXNE   ((uint32_t)0x06000040)
 
#define I2C_IT_RXNE   I2C_ISR_RXNE
 
#define I2C_IT_SB   ((uint32_t)0x02000001)
 
#define I2C_IT_SB   ((uint32_t)0x02000001)
 
#define I2C_IT_SMBALERT   ((uint32_t)0x01008000)
 
#define I2C_IT_SMBALERT   ((uint32_t)0x01008000)
 
#define I2C_IT_STOPF   ((uint32_t)0x02000010)
 
#define I2C_IT_STOPF   ((uint32_t)0x02000010)
 
#define I2C_IT_STOPF   I2C_ISR_STOPF
 
#define I2C_IT_STOPI   I2C_CR1_STOPIE
 
#define I2C_IT_TC   I2C_ISR_TC
 
#define I2C_IT_TCI   I2C_CR1_TCIE
 
#define I2C_IT_TCR   I2C_ISR_TCR
 
#define I2C_IT_TIMEOUT   ((uint32_t)0x01004000)
 
#define I2C_IT_TIMEOUT   ((uint32_t)0x01004000)
 
#define I2C_IT_TIMEOUT   I2C_ISR_TIMEOUT
 
#define I2C_IT_TXE   ((uint32_t)0x06000080)
 
#define I2C_IT_TXE   ((uint32_t)0x06000080)
 
#define I2C_IT_TXI   I2C_CR1_TXIE
 
#define I2C_IT_TXIS   I2C_ISR_TXIS
 
#define IS_I2C_CLEAR_IT(IT)   ((((IT) & (uint16_t)0x20FF) == 0x00) && ((IT) != (uint16_t)0x00))
 
#define IS_I2C_CLEAR_IT(IT)   ((((IT) & (uint16_t)0x20FF) == 0x00) && ((IT) != (uint16_t)0x00))
 
#define IS_I2C_CLEAR_IT(IT)   ((((IT) & (uint32_t)0xFFFFC001) == 0x00) && ((IT) != 0x00))
 
#define IS_I2C_CONFIG_IT(IT)   ((((IT) & (uint16_t)0xF8FF) == 0x00) && ((IT) != 0x00))
 
#define IS_I2C_CONFIG_IT(IT)   ((((IT) & (uint16_t)0xF8FF) == 0x00) && ((IT) != 0x00))
 
#define IS_I2C_CONFIG_IT(IT)   ((((IT) & (uint32_t)0xFFFFFF01) == 0x00) && ((IT) != 0x00))
 
#define IS_I2C_GET_IT(IT)
 
#define IS_I2C_GET_IT(IT)
 
#define IS_I2C_GET_IT(IT)
 

Detailed Description

Macro Definition Documentation

#define I2C_IT_ADD10   ((uint32_t)0x02000008)

Definition at line 232 of file stm32f10x_i2c.h.

#define I2C_IT_ADD10   ((uint32_t)0x02000008)

Definition at line 246 of file stm32f4xx_i2c.h.

#define I2C_IT_ADDR   ((uint32_t)0x02000002)

Definition at line 234 of file stm32f10x_i2c.h.

#define I2C_IT_ADDR   ((uint32_t)0x02000002)

Definition at line 248 of file stm32f4xx_i2c.h.

#define I2C_IT_ADDR   I2C_ISR_ADDR

Definition at line 333 of file stm32f30x_i2c.h.

#define I2C_IT_ADDRI   I2C_CR1_ADDRIE

Definition at line 281 of file stm32f30x_i2c.h.

#define I2C_IT_AF   ((uint32_t)0x01000400)

Definition at line 226 of file stm32f10x_i2c.h.

#define I2C_IT_AF   ((uint32_t)0x01000400)

Definition at line 240 of file stm32f4xx_i2c.h.

#define I2C_IT_ALERT   I2C_ISR_ALERT

Definition at line 343 of file stm32f30x_i2c.h.

#define I2C_IT_ARLO   ((uint32_t)0x01000200)

Definition at line 227 of file stm32f10x_i2c.h.

#define I2C_IT_ARLO   ((uint32_t)0x01000200)

Definition at line 241 of file stm32f4xx_i2c.h.

#define I2C_IT_ARLO   I2C_ISR_ARLO

Definition at line 339 of file stm32f30x_i2c.h.

#define I2C_IT_BERR   ((uint32_t)0x01000100)

Definition at line 228 of file stm32f10x_i2c.h.

#define I2C_IT_BERR   ((uint32_t)0x01000100)

Definition at line 242 of file stm32f4xx_i2c.h.

#define I2C_IT_BERR   I2C_ISR_BERR

Definition at line 338 of file stm32f30x_i2c.h.

#define I2C_IT_BTF   ((uint32_t)0x02000004)

Definition at line 233 of file stm32f10x_i2c.h.

#define I2C_IT_BTF   ((uint32_t)0x02000004)

Definition at line 247 of file stm32f4xx_i2c.h.

#define I2C_IT_BUF   ((uint16_t)0x0400)

Definition at line 210 of file stm32f10x_i2c.h.

#define I2C_IT_BUF   ((uint16_t)0x0400)

Definition at line 224 of file stm32f4xx_i2c.h.

#define I2C_IT_ERR   ((uint16_t)0x0100)

Definition at line 212 of file stm32f10x_i2c.h.

#define I2C_IT_ERR   ((uint16_t)0x0100)

Definition at line 226 of file stm32f4xx_i2c.h.

#define I2C_IT_ERRI   I2C_CR1_ERRIE

Definition at line 277 of file stm32f30x_i2c.h.

#define I2C_IT_EVT   ((uint16_t)0x0200)

Definition at line 211 of file stm32f10x_i2c.h.

#define I2C_IT_EVT   ((uint16_t)0x0200)

Definition at line 225 of file stm32f4xx_i2c.h.

#define I2C_IT_NACKF   I2C_ISR_NACKF

Definition at line 334 of file stm32f30x_i2c.h.

#define I2C_IT_NACKI   I2C_CR1_NACKIE

Definition at line 280 of file stm32f30x_i2c.h.

#define I2C_IT_OVR   ((uint32_t)0x01000800)

Definition at line 225 of file stm32f10x_i2c.h.

#define I2C_IT_OVR   ((uint32_t)0x01000800)

Definition at line 239 of file stm32f4xx_i2c.h.

#define I2C_IT_OVR   I2C_ISR_OVR

Definition at line 340 of file stm32f30x_i2c.h.

#define I2C_IT_PECERR   ((uint32_t)0x01001000)

Definition at line 224 of file stm32f10x_i2c.h.

#define I2C_IT_PECERR   ((uint32_t)0x01001000)

Definition at line 238 of file stm32f4xx_i2c.h.

#define I2C_IT_PECERR   I2C_ISR_PECERR

Definition at line 341 of file stm32f30x_i2c.h.

#define I2C_IT_RXI   I2C_CR1_RXIE

Definition at line 282 of file stm32f30x_i2c.h.

#define I2C_IT_RXNE   ((uint32_t)0x06000040)

Definition at line 230 of file stm32f10x_i2c.h.

#define I2C_IT_RXNE   ((uint32_t)0x06000040)

Definition at line 244 of file stm32f4xx_i2c.h.

#define I2C_IT_RXNE   I2C_ISR_RXNE

Definition at line 332 of file stm32f30x_i2c.h.

#define I2C_IT_SB   ((uint32_t)0x02000001)

Definition at line 235 of file stm32f10x_i2c.h.

#define I2C_IT_SB   ((uint32_t)0x02000001)

Definition at line 249 of file stm32f4xx_i2c.h.

#define I2C_IT_SMBALERT   ((uint32_t)0x01008000)

Definition at line 222 of file stm32f10x_i2c.h.

#define I2C_IT_SMBALERT   ((uint32_t)0x01008000)

Definition at line 236 of file stm32f4xx_i2c.h.

#define I2C_IT_STOPF   ((uint32_t)0x02000010)

Definition at line 231 of file stm32f10x_i2c.h.

#define I2C_IT_STOPF   ((uint32_t)0x02000010)

Definition at line 245 of file stm32f4xx_i2c.h.

#define I2C_IT_STOPF   I2C_ISR_STOPF

Definition at line 335 of file stm32f30x_i2c.h.

#define I2C_IT_STOPI   I2C_CR1_STOPIE

Definition at line 279 of file stm32f30x_i2c.h.

#define I2C_IT_TC   I2C_ISR_TC

Definition at line 336 of file stm32f30x_i2c.h.

#define I2C_IT_TCI   I2C_CR1_TCIE

Definition at line 278 of file stm32f30x_i2c.h.

#define I2C_IT_TCR   I2C_ISR_TCR

Definition at line 337 of file stm32f30x_i2c.h.

#define I2C_IT_TIMEOUT   ((uint32_t)0x01004000)

Definition at line 223 of file stm32f10x_i2c.h.

#define I2C_IT_TIMEOUT   ((uint32_t)0x01004000)

Definition at line 237 of file stm32f4xx_i2c.h.

#define I2C_IT_TIMEOUT   I2C_ISR_TIMEOUT

Definition at line 342 of file stm32f30x_i2c.h.

#define I2C_IT_TXE   ((uint32_t)0x06000080)

Definition at line 229 of file stm32f10x_i2c.h.

#define I2C_IT_TXE   ((uint32_t)0x06000080)

Definition at line 243 of file stm32f4xx_i2c.h.

#define I2C_IT_TXI   I2C_CR1_TXIE

Definition at line 283 of file stm32f30x_i2c.h.

#define I2C_IT_TXIS   I2C_ISR_TXIS

Definition at line 331 of file stm32f30x_i2c.h.

#define IS_I2C_CLEAR_IT (   IT)    ((((IT) & (uint16_t)0x20FF) == 0x00) && ((IT) != (uint16_t)0x00))

Definition at line 237 of file stm32f10x_i2c.h.

#define IS_I2C_CLEAR_IT (   IT)    ((((IT) & (uint16_t)0x20FF) == 0x00) && ((IT) != (uint16_t)0x00))

Definition at line 251 of file stm32f4xx_i2c.h.

#define IS_I2C_CLEAR_IT (   IT)    ((((IT) & (uint32_t)0xFFFFC001) == 0x00) && ((IT) != 0x00))

Definition at line 345 of file stm32f30x_i2c.h.

#define IS_I2C_CONFIG_IT (   IT)    ((((IT) & (uint16_t)0xF8FF) == 0x00) && ((IT) != 0x00))

Definition at line 213 of file stm32f10x_i2c.h.

#define IS_I2C_CONFIG_IT (   IT)    ((((IT) & (uint16_t)0xF8FF) == 0x00) && ((IT) != 0x00))

Definition at line 227 of file stm32f4xx_i2c.h.

#define IS_I2C_CONFIG_IT (   IT)    ((((IT) & (uint32_t)0xFFFFFF01) == 0x00) && ((IT) != 0x00))

Definition at line 285 of file stm32f30x_i2c.h.

#define IS_I2C_GET_IT (   IT)
Value:
(((IT) == I2C_IT_SMBALERT) || ((IT) == I2C_IT_TIMEOUT) || \
((IT) == I2C_IT_PECERR) || ((IT) == I2C_IT_OVR) || \
((IT) == I2C_IT_AF) || ((IT) == I2C_IT_ARLO) || \
((IT) == I2C_IT_BERR) || ((IT) == I2C_IT_TXE) || \
((IT) == I2C_IT_RXNE) || ((IT) == I2C_IT_STOPF) || \
((IT) == I2C_IT_ADD10) || ((IT) == I2C_IT_BTF) || \
((IT) == I2C_IT_ADDR) || ((IT) == I2C_IT_SB))
#define I2C_IT_ADDR
#define I2C_IT_AF
#define I2C_IT_BERR
#define I2C_IT_RXNE
#define I2C_IT_OVR
#define I2C_IT_STOPF
#define I2C_IT_PECERR
#define I2C_IT_SMBALERT
#define I2C_IT_ARLO
#define I2C_IT_SB
#define I2C_IT_ADD10
#define I2C_IT_TIMEOUT
#define I2C_IT_TXE
#define I2C_IT_BTF

Definition at line 239 of file stm32f10x_i2c.h.

#define IS_I2C_GET_IT (   IT)
Value:
(((IT) == I2C_IT_SMBALERT) || ((IT) == I2C_IT_TIMEOUT) || \
((IT) == I2C_IT_PECERR) || ((IT) == I2C_IT_OVR) || \
((IT) == I2C_IT_AF) || ((IT) == I2C_IT_ARLO) || \
((IT) == I2C_IT_BERR) || ((IT) == I2C_IT_TXE) || \
((IT) == I2C_IT_RXNE) || ((IT) == I2C_IT_STOPF) || \
((IT) == I2C_IT_ADD10) || ((IT) == I2C_IT_BTF) || \
((IT) == I2C_IT_ADDR) || ((IT) == I2C_IT_SB))
#define I2C_IT_ADDR
#define I2C_IT_AF
#define I2C_IT_BERR
#define I2C_IT_RXNE
#define I2C_IT_OVR
#define I2C_IT_STOPF
#define I2C_IT_PECERR
#define I2C_IT_SMBALERT
#define I2C_IT_ARLO
#define I2C_IT_SB
#define I2C_IT_ADD10
#define I2C_IT_TIMEOUT
#define I2C_IT_TXE
#define I2C_IT_BTF

Definition at line 253 of file stm32f4xx_i2c.h.

#define IS_I2C_GET_IT (   IT)
Value:
(((IT) == I2C_IT_TXIS) || ((IT) == I2C_IT_RXNE) || \
((IT) == I2C_IT_ADDR) || ((IT) == I2C_IT_NACKF) || \
((IT) == I2C_IT_STOPF) || ((IT) == I2C_IT_TC) || \
((IT) == I2C_IT_TCR) || ((IT) == I2C_IT_BERR) || \
((IT) == I2C_IT_ARLO) || ((IT) == I2C_IT_OVR) || \
((IT) == I2C_IT_PECERR) || ((IT) == I2C_IT_TIMEOUT) || \
((IT) == I2C_IT_ALERT))
#define I2C_IT_ADDR
#define I2C_IT_BERR
#define I2C_IT_RXNE
#define I2C_IT_TC
#define I2C_IT_OVR
#define I2C_IT_ALERT
#define I2C_IT_STOPF
#define I2C_IT_TCR
#define I2C_IT_PECERR
#define I2C_IT_ARLO
#define I2C_IT_TIMEOUT
#define I2C_IT_TXIS
#define I2C_IT_NACKF

Definition at line 347 of file stm32f30x_i2c.h.



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