UART_CFG_Type Struct Reference
[UART Public Types]
UART Configuration Structure definition. More...
#include <lpc17xx_uart.h>
Data Fields | |
uint32_t | Baud_rate |
UART baud rate. | |
UART_PARITY_Type | Parity |
Parity selection, should be:
| |
UART_DATABIT_Type | Databits |
Number of data bits, should be:
| |
UART_STOPBIT_Type | Stopbits |
Number of stop bits, should be:
|
Detailed Description
UART Configuration Structure definition.
Definition at line 491 of file lpc17xx_uart.h.
Field Documentation
uint32_t Baud_rate |
UART baud rate.
Definition at line 492 of file lpc17xx_uart.h.
Number of data bits, should be:
- UART_DATABIT_5: UART 5 bit data mode
- UART_DATABIT_6: UART 6 bit data mode
- UART_DATABIT_7: UART 7 bit data mode
- UART_DATABIT_8: UART 8 bit data mode.
Definition at line 500 of file lpc17xx_uart.h.
Parity selection, should be:
- UART_PARITY_NONE: No parity
- UART_PARITY_ODD: Odd parity
- UART_PARITY_EVEN: Even parity
- UART_PARITY_SP_1: Forced "1" stick parity
- UART_PARITY_SP_0: Forced "0" stick parity.
Definition at line 493 of file lpc17xx_uart.h.
Number of stop bits, should be:
- UART_STOPBIT_1: UART 1 Stop Bits Select
- UART_STOPBIT_2: UART 2 Stop Bits Select.
Definition at line 506 of file lpc17xx_uart.h.
Generated on Thu Jul 14 2022 05:16:19 by 1.7.2