| 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
Functions | Variables
uart_11xx.c File Reference
`#include "chip.h"`

Go to the source code of this file.

## Functions
void | Chip_UART_Init (LPC_USART_T *pUART)
| Initializes the pUART peripheral.
void | Chip_UART_DeInit (LPC_USART_T *pUART)
| De-initializes the pUART peripheral.
int | Chip_UART_Send (LPC_USART_T *pUART, const void *data, int numBytes)
| Transmit a byte array through the UART peripheral (non-blocking)
int | Chip_UART_SendBlocking (LPC_USART_T *pUART, const void *data, int numBytes)
| Transmit a byte array through the UART peripheral (blocking)
int | Chip_UART_Read (LPC_USART_T *pUART, void *data, int numBytes)
| Read data through the UART peripheral (non-blocking)
int | Chip_UART_ReadBlocking (LPC_USART_T *pUART, void *data, int numBytes)
| Read data through the UART peripheral (blocking)
uint32_t | Chip_UART_SetBaud (LPC_USART_T *pUART, uint32_t baudrate)
| Sets best dividers to get a target bit rate (without fractional divider)
void | Chip_UART_RXIntHandlerRB (LPC_USART_T *pUART, RINGBUFF_T *pRB)
| UART receive-only interrupt handler for ring buffers.
void | Chip_UART_TXIntHandlerRB (LPC_USART_T *pUART, RINGBUFF_T *pRB)
| UART transmit-only interrupt handler for ring buffers.
uint32_t | Chip_UART_SendRB (LPC_USART_T *pUART, RINGBUFF_T *pRB, const void *data, int bytes)
| Populate a transmit ring buffer and start UART transmit.
int | Chip_UART_ReadRB (LPC_USART_T *pUART, RINGBUFF_T *pRB, void *data, int bytes)
| Copy data from a receive ring buffer.
void | Chip_UART_IRQRBHandler (LPC_USART_T *pUART, RINGBUFF_T *pRXRB, RINGBUFF_T *pTXRB)
| UART receive/transmit interrupt handler for ring buffers.

## Variables
STATIC bool | txIntEnabled

## Variable Documentation

STATIC bool txIntEnabled

Definition at line 39 of file uart_11xx.c.