CHAR_SIZE=5bits, BCLKSRC=Peripheral_Clock
Control register
RX_THD_VAL | This field specifies the depth of receive FIFO for interrupt generation (value 0 and > 16 are ignored) |
PAR_EN | Parity Enable |
PAR_EO | when PAREN=1 selects odd or even parity odd is 1 even is 0 |
PAR_MD | Selects parity based on 1s or 0s count (when PAREN=1) |
CTS_DIS | CTS Sampling Disable |
TX_FLUSH | Flushes the TX FIFO buffer. This bit is automatically cleared by hardware when flush is completed. |
RX_FLUSH | Flushes the RX FIFO buffer. This bit is automatically cleared by hardware when flush is completed. |
CHAR_SIZE | Selects UART character size 0 (5bits): 5 bits 1 (6bits): 6 bits 2 (7bits): 7 bits 3 (8bits): 8 bits |
STOPBITS | Selects the number of stop bits that will be generated |
HFC_EN | Enables/disables hardware flow control |
RTSDC | Hardware Flow Control RTS Mode |
BCLKEN | Baud clock enable |
BCLKSRC | To select the UART clock source for the UART engine (except APB registers). Secondary clock (used for baud rate generator) can be asynchronous from APB clock. 0 (Peripheral_Clock): apb clock 1 (CLK1): Clock 1 2 (CLK2): Clock 2 3 (CLK3): Clock 3 |
DPFE_EN | Data/Parity bit frame error detection enable |
BCLKRDY | Baud clock Ready read only bit |
UCAGM | UART Clock Auto Gating mode |
FDM | Fractional Division Mode |
DESM | RX Dual Edge Sampling Mode |