35#ifndef _FREERTOS_DRIVERS_NXP_LPC17XX40XXUART_HXX_
36#define _FREERTOS_DRIVERS_NXP_LPC17XX40XXUART_HXX_
43#if defined (CHIP_LPC175X_6X)
44#include "cmsis_175x_6x.h"
45#elif defined (CHIP_LPC177X_9X)
46#include "cmsis_177x_8x.h"
47#elif defined (CHIP_LPC407X_8X)
48#include "cmsis_407x_8x.h"
50#error "LPC CHIP undefined"
53#include "uart_17xx_40xx.h"
96#if defined (CHIP_LPC177X_8X) || defined (CHIP_LPC407X_8X)
const char * name
device name
Specialization of Serial driver for LPC17xx and LPC40xx UART.
LpcUart()
Default constructor.
void disable() override
function to disable device
static LpcUart * instances[4]
Instance pointers help us get context from the interrupt handler(s)
LPC_USART_T * base
base address of this device
static void interrupt_handler(unsigned index)
Translate an interrupt handler into C++ object context.
IRQn_Type interrupt
interrupt of this device
void tx_char() override
Try and transmit a message.
void enable() override
function to enable device
void interrupt_handler()
handle an interrupt.
Private data for a serial device.
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Removes default copy-constructor and assignment added by C++.