STM8S/A Standard Peripherals Drivers
|
Enumerations | |
enum | UART3_Flag_TypeDef { UART3_FLAG_TXE = (uint16_t)0x0080, UART3_FLAG_TC = (uint16_t)0x0040, UART3_FLAG_RXNE = (uint16_t)0x0020, UART3_FLAG_IDLE = (uint16_t)0x0010, UART3_FLAG_OR_LHE = (uint16_t)0x0008, UART3_FLAG_NF = (uint16_t)0x0004, UART3_FLAG_FE = (uint16_t)0x0002, UART3_FLAG_PE = (uint16_t)0x0001, UART3_FLAG_SBK = (uint16_t)0x0101, UART3_FLAG_LBDF = (uint16_t)0x0210, UART3_FLAG_LHDF = (uint16_t)0x0302, UART3_FLAG_LSF = (uint16_t)0x0301 } |
UART3 Flag possible values. More... | |
enum | UART3_IT_TypeDef { UART3_IT_TXE = (uint16_t)0x0277, UART3_IT_TC = (uint16_t)0x0266, UART3_IT_RXNE = (uint16_t)0x0255, UART3_IT_IDLE = (uint16_t)0x0244, UART3_IT_OR = (uint16_t)0x0235, UART3_IT_PE = (uint16_t)0x0100, UART3_IT_LBDF = (uint16_t)0x0346, UART3_IT_LHDF = (uint16_t)0x0412, UART3_IT_RXNE_OR = (uint16_t)0x0205 } |
UART3 Interrupt definition UART3_IT possible values Elements values convention: 0xZYX X: Position of the corresponding Interrupt. More... | |
enum | UART3_LinAutosync_TypeDef { UART3_LIN_AUTOSYNC_DISABLE = (uint8_t)0x00, UART3_LIN_AUTOSYNC_ENABLE = (uint8_t)0x01 } |
UART3 automatic resynchronisation possible values. More... | |
enum | UART3_LINBreakDetectionLength_TypeDef { UART3_LINBREAKDETECTIONLENGTH_10BITS = (uint8_t)0x00, UART3_LINBREAKDETECTIONLENGTH_11BITS = (uint8_t)0x01 } |
UART3 LIN Break detection length possible values. More... | |
enum | UART3_LinDivUp_TypeDef { UART3_LIN_DIVUP_LBRR1 = (uint8_t)0x00, UART3_LIN_DIVUP_NEXTRXNE = (uint8_t)0x01 } |
UART3 Divider Update Method possible values. More... | |
enum | UART3_LinMode_TypeDef { UART3_LIN_MODE_MASTER = (uint8_t)0x00, UART3_LIN_MODE_SLAVE = (uint8_t)0x01 } |
UART3 Mode possible values. More... | |
enum | UART3_Mode_TypeDef { UART3_MODE_RX_ENABLE = (uint8_t)0x08, UART3_MODE_TX_ENABLE = (uint8_t)0x04, UART3_MODE_TX_DISABLE = (uint8_t)0x80, UART3_MODE_RX_DISABLE = (uint8_t)0x40, UART3_MODE_TXRX_ENABLE = (uint8_t)0x0C } |
UART3 Mode Transmit/Receive possible values. More... | |
enum | UART3_Parity_TypeDef { UART3_PARITY_NO = (uint8_t)0x00, UART3_PARITY_EVEN = (uint8_t)0x04, UART3_PARITY_ODD = (uint8_t)0x06 } |
UART3 parity possible values. More... | |
enum | UART3_StopBits_TypeDef { UART3_STOPBITS_1 = (uint8_t)0x00, UART3_STOPBITS_2 = (uint8_t)0x20 } |
UART3 stop bits possible values. More... | |
enum | UART3_WakeUp_TypeDef { UART3_WAKEUP_IDLELINE = (uint8_t)0x00, UART3_WAKEUP_ADDRESSMARK = (uint8_t)0x08 } |
UART3 WakeUP Modes. More... | |
enum | UART3_WordLength_TypeDef { UART3_WORDLENGTH_8D = (uint8_t)0x00, UART3_WORDLENGTH_9D = (uint8_t)0x10 } |
UART3 Word length possible values. More... |
Enumeration Type Documentation
enum UART3_Flag_TypeDef |
UART3 Flag possible values.
Definition at line 115 of file stm8s_uart3.h.
enum UART3_IT_TypeDef |
UART3 Interrupt definition UART3_IT possible values Elements values convention: 0xZYX X: Position of the corresponding Interrupt.
- For the following values, X means the interrupt position in the CR2 register. UART3_IT_TXE UART3_IT_TC UART3_IT_RXNE UART3_IT_IDLE UART3_IT_OR
- For the UART3_IT_PE value, X means the flag position in the CR1 register.
- For the UART3_IT_LBDF value, X means the flag position in the CR4 register.
- For the UART3_IT_LHDF value, X means the flag position in the CR6 register. Y: Flag position
For the following values, Y means the flag (pending bit) position in the SR register. UART3_IT_TXE UART3_IT_TC UART3_IT_RXNE UART3_IT_IDLE UART3_IT_OR UART3_IT_PE
- For the UART3_IT_LBDF value, Y means the flag position in the CR4 register.
- For the UART3_IT_LHDF value, Y means the flag position in the CR6 register. Z: Register index: indicate in which register the dedicated interrupt source is:
- 1==> CR1 register
- 2==> CR2 register
- 3==> CR4 register
- 4==> CR6 register
Definition at line 161 of file stm8s_uart3.h.
UART3 automatic resynchronisation possible values.
Definition at line 101 of file stm8s_uart3.h.
UART3 LIN Break detection length possible values.
Definition at line 55 of file stm8s_uart3.h.
UART3 Divider Update Method possible values.
Definition at line 107 of file stm8s_uart3.h.
UART3 Mode possible values.
Definition at line 95 of file stm8s_uart3.h.
enum UART3_Mode_TypeDef |
UART3 Mode Transmit/Receive possible values.
Definition at line 85 of file stm8s_uart3.h.
enum UART3_Parity_TypeDef |
UART3 parity possible values.
Definition at line 70 of file stm8s_uart3.h.
UART3 stop bits possible values.
Definition at line 63 of file stm8s_uart3.h.
enum UART3_WakeUp_TypeDef |
UART3 WakeUP Modes.
Definition at line 48 of file stm8s_uart3.h.
UART3 Word length possible values.
Definition at line 78 of file stm8s_uart3.h.