uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UART_CFG_Type Struct Reference

UART Configuration Structure definition. More...

#include <lpc17xx_uart.h>

Public Attributes

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 495 of file lpc17xx_uart.h.

Member Data Documentation

uint32_t UART_CFG_Type::Baud_rate

UART baud rate

Definition at line 496 of file lpc17xx_uart.h.

UART_DATABIT_Type UART_CFG_Type::Databits
  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 504 of file lpc17xx_uart.h.

UART_PARITY_Type UART_CFG_Type::Parity
  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 497 of file lpc17xx_uart.h.

UART_STOPBIT_Type UART_CFG_Type::Stopbits
  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 510 of file lpc17xx_uart.h.


The documentation for this struct was generated from the following file: