| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
uartd_8xx.h File Reference

Go to the source code of this file.

## Data Structures
struct | UART_CONFIG_T
struct | UART_PARAM_T
struct | UARTD_API_T

## Macros
#define | ERR_NO_ERROR (0x00000000UL)
#define | ERR_UART_RXD_BUSY (0x00080001UL)
#define | ERR_UART_TXD_BUSY (0x00080002UL)
#define | ERR_UART_OVERRUN_FRAME_PARITY_NOISE (0x00080003UL)
#define | ERR_UART_UNDERRUN (0x00080004UL)
#define | ERR_UART_PARAM (0x00080005UL)
#define | OVERRUN_ERR_EN (1 << 0)
#define | UNDERRUN_ERR_EN (1 << 1)
#define | FRAME_ERR_EN (1 << 2)
#define | PARITY_ERR_EN (1 << 3)
#define | RXNOISE_ERR_EN (1 << 4)
#define | ALL_ERR_EN
#define | NO_ERR_EN (0)
#define | UART_ROM_MEM_SIZE (0x20UL)
#define | TX_MODE_BUF_EMPTY (0x00)
#define | RX_MODE_BUF_FULL (0x00)
#define | TX_MODE_SZERO_SEND_CRLF (0x01)
#define | RX_MODE_CRLF_RECVD (0x01)
#define | TX_MODE_SZERO_SEND_LF (0x02)
#define | RX_MODE_LF_RECVD (0x02)
#define | TX_MODE_SZERO (0x03)
#define | DRIVER_MODE_POLLING (0x00)
#define | DRIVER_MODE_INTERRUPT (0x01)
#define | DRIVER_MODE_DMA (0x02)

## Typedefs
typedef void | UART_HANDLE_T
typedef void(* | UART_CALLBK_T )(uint32_t err_code, uint32_t n)
typedef void(* | UART_DMA_REQ_T )(uint32_t src_adr, uint32_t dst_adr, uint32_t size)