#include "chip.h"
Go to the source code of this file.
Functions | |
| void | Chip_UART_DeInit (LPC_USART_T *pUART) |
| De-initializes the pUART peripheral. More... | |
| void | Chip_UART_Init (LPC_USART_T *pUART) |
| Initializes the pUART peripheral. More... | |
| void | Chip_UART_IRQRBHandler (LPC_USART_T *pUART, RINGBUFF_T *pRXRB, RINGBUFF_T *pTXRB) |
| UART receive/transmit interrupt handler for ring buffers. More... | |
| int | Chip_UART_Read (LPC_USART_T *pUART, void *data, int numBytes) |
| Read data through the UART peripheral (non-blocking) More... | |
| int | Chip_UART_ReadBlocking (LPC_USART_T *pUART, void *data, int numBytes) |
| Read data through the UART peripheral (blocking) More... | |
| int | Chip_UART_ReadRB (LPC_USART_T *pUART, RINGBUFF_T *pRB, void *data, int bytes) |
| Copy data from a receive ring buffer. More... | |
| void | Chip_UART_RXIntHandlerRB (LPC_USART_T *pUART, RINGBUFF_T *pRB) |
| UART receive-only interrupt handler for ring buffers. More... | |
| int | Chip_UART_Send (LPC_USART_T *pUART, const void *data, int numBytes) |
| Transmit a byte array through the UART peripheral (non-blocking) More... | |
| int | Chip_UART_SendBlocking (LPC_USART_T *pUART, const void *data, int numBytes) |
| Transmit a byte array through the UART peripheral (blocking) More... | |
| 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. More... | |
| uint32_t | Chip_UART_SetBaud (LPC_USART_T *pUART, uint32_t baudrate) |
| Sets best dividers to get a target bit rate (without fractional divider) More... | |
| uint32_t | Chip_UART_SetBaudFDR (LPC_USART_T *pUART, uint32_t baudrate) |
| Sets best dividers to get a target bit rate (with fractional divider) More... | |
| void | Chip_UART_TXIntHandlerRB (LPC_USART_T *pUART, RINGBUFF_T *pRB) |
| UART transmit-only interrupt handler for ring buffers. More... | |