NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip
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 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.
Generated on Tue Jul 12 2022 17:06:04 by 1.7.2