UART_CFG_Type Struct Reference
[UART_Public_Types]
UART Configuration Structure definition.
More...
#include <lpc17xx_uart.h>
Data Fields | |
uint32_t | Baud_rate |
UART_PARITY_Type | Parity |
UART_DATABIT_Type | Databits |
UART_STOPBIT_Type | Stopbits |
Detailed Description
UART Configuration Structure definition.Definition at line 444 of file lpc17xx_uart.h.
Field Documentation
uint32_t Baud_rate |
UART baud rate
Definition at line 445 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 453 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 446 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 459 of file lpc17xx_uart.h.
The documentation for this struct was generated from the following file:
- C:/nxpdrv/LPC1700CMSIS/Drivers/include/lpc17xx_uart.h
Generated on Mon Feb 8 10:01:56 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9