uart_dev.hpp
Go to the documentation of this file.
bool putChar(char out, unsigned int timeout=portMAX_DELAY)
Definition: uart_dev.cpp:50
bool flush(void)
Flushed all pending transmission of the uart queue.
Definition: uart_dev.cpp:78
void setBaudRate(unsigned int baudRate)
Reset the baud-rate after UART has been initialized.
Definition: uart_dev.cpp:96
bool getChar(char *pInputChar, unsigned int timeout=portMAX_DELAY)
Definition: uart_dev.cpp:31
Definition: LPC17xx.h:340
Provides a 'char' device base class functionality for stream oriented char devices.
Definition: uart_dev.hpp:61
CMSIS Cortex-M3 Core Peripheral Access Layer Header File for NXP LPC17xx Device Series.
Definition: char_dev.hpp:43
UBaseType_t uxQueueMessagesWaiting(const QueueHandle_t xQueue) PRIVILEGED_FUNCTION
Definition: queue.c:1579
bool init(unsigned int pclk, unsigned int baudRate, int rxQSize=32, int txQSize=32)
Definition: uart_dev.cpp:206