LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
uart_8xx.h File Reference

Go to the source code of this file.

Functions

STATIC INLINE void Chip_UART_ConfigData (LPC_USART_T *pUART, IP_UART_002_DATALEN_T Databits, IP_UART_002_PARITY_T Parity, IP_UART_002_STOPLEN_T Stopbits)
 Configure the UART protocol.
 
STATIC INLINE void Chip_UART_IntEnable (LPC_USART_T *pUART, uint32_t UARTIntCfg, FunctionalState NewState)
 Enable/Disable UART Interrupts.
 
STATIC INLINE uint32_t Chip_UART_GetIntStatus (LPC_USART_T *pUART)
 Get UART interrupt status.
 
void Chip_UART_Init (LPC_USART_T *pUART)
 Initialize the UART peripheral.
 
void Chip_UART_SetBaudRate (LPC_USART_T *pUART, uint32_t baudrate)
 Set baud rate for UART.
 
Status Chip_UART_SendByte (LPC_USART_T *pUART, uint8_t data)
 Transmit a 8 bits data.
 
Status Chip_UART_ReceiveByte (LPC_USART_T *pUART, uint8_t *Data)
 Receive a 8 bits data.