RTEMS  5.0.0
Macros | Functions | Variables
hsu.c File Reference

High speed UART driver (14-clock). More...

#include <bsp.h>
#include <bsp/lpc32xx.h>
#include <bsp/irq.h>
#include <bsp/hsu.h>

Macros

#define HSU_FIFO_SIZE   64
 
#define HSU_LEVEL_RX_MASK   0xffU
 
#define HSU_LEVEL_TX_MASK   0xff00U
 
#define HSU_LEVEL_TX_SHIFT   8
 
#define HSU_RX_DATA_MASK   0xffU
 
#define HSU_RX_EMPTY   (1U << 8)
 
#define HSU_RX_ERROR   (1U << 9)
 
#define HSU_RX_BREAK   (1U << 10)
 
#define HSU_IIR_TX   (1U << 0)
 
#define HSU_IIR_RX_TRIG   (1U << 1)
 
#define HSU_IIR_RX_TIMEOUT   (1U << 2)
 
#define HSU_CTRL_INTR_DISABLED   0x1280fU
 
#define HSU_CTRL_RX_INTR_ENABLED   0x1284fU
 
#define HSU_CTRL_RX_AND_TX_INTR_ENABLED   0x1286fU
 
#define HSU_IIR_MASK   0x7U
 

Functions

bool lpc32xx_hsu_probe (rtems_termios_device_context *base)
 

Variables

const rtems_termios_device_handler lpc32xx_hsu_fns
 

Detailed Description

High speed UART driver (14-clock).