Macros
Collaboration diagram for USART_Mode:

Macros

#define IS_USART_MODE(MODE)   ((((MODE) & (uint16_t)0xFFF3) == 0x00) && ((MODE) != (uint16_t)0x00))
 
#define IS_USART_MODE(MODE)
 
#define IS_USART_MODE(MODE)   ((((MODE) & (uint16_t)0xFFF3) == 0x00) && ((MODE) != (uint16_t)0x00))
 
#define USART_Mode_Rx   ((uint16_t)0x0004)
 
#define USART_Mode_Rx   USART_CR1_RE
 
#define USART_Mode_Rx   ((uint16_t)0x0004)
 
#define USART_Mode_Tx   ((uint16_t)0x0008)
 
#define USART_Mode_Tx   USART_CR1_TE
 
#define USART_Mode_Tx   ((uint16_t)0x0008)
 

Detailed Description

Macro Definition Documentation

◆ IS_USART_MODE [1/3]

#define IS_USART_MODE (   MODE)    ((((MODE) & (uint16_t)0xFFF3) == 0x00) && ((MODE) != (uint16_t)0x00))

Definition at line 170 of file stm32f10x_usart.h.

◆ IS_USART_MODE [2/3]

#define IS_USART_MODE (   MODE)
Value:
((((MODE) & (uint32_t)0xFFFFFFF3) == 0x00) && \
((MODE) != (uint32_t)0x00))

Definition at line 172 of file stm32f30x_usart.h.

◆ IS_USART_MODE [3/3]

#define IS_USART_MODE (   MODE)    ((((MODE) & (uint16_t)0xFFF3) == 0x00) && ((MODE) != (uint16_t)0x00))

Definition at line 173 of file stm32f4xx_usart.h.

◆ USART_Mode_Rx [1/3]

#define USART_Mode_Rx   ((uint16_t)0x0004)

Definition at line 168 of file stm32f10x_usart.h.

◆ USART_Mode_Rx [2/3]

#define USART_Mode_Rx   USART_CR1_RE

Definition at line 170 of file stm32f30x_usart.h.

◆ USART_Mode_Rx [3/3]

#define USART_Mode_Rx   ((uint16_t)0x0004)

Definition at line 171 of file stm32f4xx_usart.h.

◆ USART_Mode_Tx [1/3]

#define USART_Mode_Tx   ((uint16_t)0x0008)

Definition at line 169 of file stm32f10x_usart.h.

◆ USART_Mode_Tx [2/3]

#define USART_Mode_Tx   USART_CR1_TE

Definition at line 171 of file stm32f30x_usart.h.

◆ USART_Mode_Tx [3/3]

#define USART_Mode_Tx   ((uint16_t)0x0008)

Definition at line 172 of file stm32f4xx_usart.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Mon Feb 28 2022 23:36:15