STM8S/A Standard Peripherals Drivers
|
Enumerations | |
enum | UART4_Flag_TypeDef { UART4_FLAG_TXE = (uint16_t)0x0080, UART4_FLAG_TC = (uint16_t)0x0040, UART4_FLAG_RXNE = (uint16_t)0x0020, UART4_FLAG_IDLE = (uint16_t)0x0010, UART4_FLAG_OR_LHE = (uint16_t)0x0008, UART4_FLAG_NF = (uint16_t)0x0004, UART4_FLAG_FE = (uint16_t)0x0002, UART4_FLAG_PE = (uint16_t)0x0001, UART4_FLAG_SBK = (uint16_t)0x0101, UART4_FLAG_LBDF = (uint16_t)0x0210, UART4_FLAG_LHDF = (uint16_t)0x0302, UART4_FLAG_LSF = (uint16_t)0x0301 } |
UART4 Flag possible values. More... | |
enum | UART4_IrDAMode_TypeDef { UART4_IRDAMODE_NORMAL = (uint8_t)0x00, UART4_IRDAMODE_LOWPOWER = (uint8_t)0x01 } |
UART4 Irda Modes. More... | |
enum | UART4_IT_TypeDef { UART4_IT_TXE = (uint16_t)0x0277, UART4_IT_TC = (uint16_t)0x0266, UART4_IT_RXNE = (uint16_t)0x0255, UART4_IT_IDLE = (uint16_t)0x0244, UART4_IT_OR = (uint16_t)0x0235, UART4_IT_PE = (uint16_t)0x0100, UART4_IT_LBDF = (uint16_t)0x0346, UART4_IT_LHDF = (uint16_t)0x0412, UART4_IT_RXNE_OR = (uint16_t)0x0205 } |
UART4 Interrupt definition UART4_IT possible values Elements values convention: 0xZYX X: Position of the corresponding Interrupt. More... | |
enum | UART4_LinAutosync_TypeDef { UART4_LIN_AUTOSYNC_DISABLE = (uint8_t)0x00, UART4_LIN_AUTOSYNC_ENABLE = (uint8_t)0x01 } |
UART4 automatic resynchronisation possible values. More... | |
enum | UART4_LINBreakDetectionLength_TypeDef { UART4_LINBREAKDETECTIONLENGTH_10BITS = (uint8_t)0x00, UART4_LINBREAKDETECTIONLENGTH_11BITS = (uint8_t)0x01 } |
UART4 LIN Break detection length possible values. More... | |
enum | UART4_LinDivUp_TypeDef { UART4_LIN_DIVUP_LBRR1 = (uint8_t)0x00, UART4_LIN_DIVUP_NEXTRXNE = (uint8_t)0x01 } |
UART4 Divider Update Method possible values. More... | |
enum | UART4_LinMode_TypeDef { UART4_LIN_MODE_MASTER = (uint8_t)0x00, UART4_LIN_MODE_SLAVE = (uint8_t)0x01 } |
UART4 Mode possible values. More... | |
enum | UART4_Mode_TypeDef { UART4_MODE_RX_ENABLE = (uint8_t)0x08, UART4_MODE_TX_ENABLE = (uint8_t)0x04, UART4_MODE_TX_DISABLE = (uint8_t)0x80, UART4_MODE_RX_DISABLE = (uint8_t)0x40, UART4_MODE_TXRX_ENABLE = (uint8_t)0x0C } |
UART4 Mode possible values. More... | |
enum | UART4_Parity_TypeDef { UART4_PARITY_NO = (uint8_t)0x00, UART4_PARITY_EVEN = (uint8_t)0x04, UART4_PARITY_ODD = (uint8_t)0x06 } |
UART4 parity possible values. More... | |
enum | UART4_StopBits_TypeDef { UART4_STOPBITS_1 = (uint8_t)0x00, UART4_STOPBITS_0_5 = (uint8_t)0x10, UART4_STOPBITS_2 = (uint8_t)0x20, UART4_STOPBITS_1_5 = (uint8_t)0x30 } |
UART4 stop bits possible values. More... | |
enum | UART4_SyncMode_TypeDef { UART4_SYNCMODE_CLOCK_DISABLE = (uint8_t)0x80, UART4_SYNCMODE_CLOCK_ENABLE = (uint8_t)0x08, UART4_SYNCMODE_CPOL_LOW = (uint8_t)0x40, UART4_SYNCMODE_CPOL_HIGH = (uint8_t)0x04, UART4_SYNCMODE_CPHA_MIDDLE = (uint8_t)0x20, UART4_SYNCMODE_CPHA_BEGINING = (uint8_t)0x02, UART4_SYNCMODE_LASTBIT_DISABLE = (uint8_t)0x10, UART4_SYNCMODE_LASTBIT_ENABLE = (uint8_t)0x01 } |
UART4 Synchrone modes. More... | |
enum | UART4_WakeUp_TypeDef { UART4_WAKEUP_IDLELINE = (uint8_t)0x00, UART4_WAKEUP_ADDRESSMARK = (uint8_t)0x08 } |
UART4 WakeUP Modes. More... | |
enum | UART4_WordLength_TypeDef { UART4_WORDLENGTH_8D = (uint8_t)0x00, UART4_WORDLENGTH_9D = (uint8_t)0x10 } |
UART4 Word length possible values. More... |
Enumeration Type Documentation
enum UART4_Flag_TypeDef |
UART4 Flag possible values.
Definition at line 139 of file stm8s_uart4.h.
UART4 Irda Modes.
Definition at line 49 of file stm8s_uart4.h.
enum UART4_IT_TypeDef |
UART4 Interrupt definition UART4_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. UART4_IT_TXE UART4_IT_TC UART4_IT_RXNE UART4_IT_IDLE UART4_IT_OR
- For the UART4_IT_PE value, X means the flag position in the CR1 register.
- For the UART4_IT_LBDF value, X means the flag position in the CR4 register.
- For the UART4_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. UART4_IT_TXE UART4_IT_TC UART4_IT_RXNE UART4_IT_IDLE UART4_IT_OR UART4_IT_PE
- For the UART4_IT_LBDF value, Y means the flag position in the CR4 register.
- For the UART4_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 185 of file stm8s_uart4.h.
UART4 automatic resynchronisation possible values.
Definition at line 97 of file stm8s_uart4.h.
UART4 LIN Break detection length possible values.
Definition at line 66 of file stm8s_uart4.h.
UART4 Divider Update Method possible values.
Definition at line 103 of file stm8s_uart4.h.
UART4 Mode possible values.
Definition at line 91 of file stm8s_uart4.h.
enum UART4_Mode_TypeDef |
UART4 Mode possible values.
Definition at line 130 of file stm8s_uart4.h.
enum UART4_Parity_TypeDef |
UART4 parity possible values.
Definition at line 84 of file stm8s_uart4.h.
UART4 stop bits possible values.
Definition at line 74 of file stm8s_uart4.h.
UART4 Synchrone modes.
Definition at line 110 of file stm8s_uart4.h.
enum UART4_WakeUp_TypeDef |
UART4 WakeUP Modes.
Definition at line 58 of file stm8s_uart4.h.
UART4 Word length possible values.
Definition at line 123 of file stm8s_uart4.h.