RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
include
libchip
Macros
ns16550_p.h File Reference
#include <
libchip/serial.h
>
Go to the source code of this file.
Macros
#define
NS16550_STATIC
static
#define
NS16550_RECEIVE_BUFFER
0
#define
NS16550_TRANSMIT_BUFFER
0
#define
NS16550_DIVISOR_LATCH_L
0
#define
NS16550_INTERRUPT_ENABLE
1
#define
NS16550_DIVISOR_LATCH_M
1
#define
NS16550_INTERRUPT_ID
2
#define
NS16550_FIFO_CONTROL
2
#define
NS16550_LINE_CONTROL
3
#define
NS16550_MODEM_CONTROL
4
#define
NS16550_LINE_STATUS
5
#define
NS16550_MODEM_STATUS
6
#define
NS16550_SCRATCH_PAD
7
#define
NS16550_FRACTIONAL_DIVIDER
10
#define
SP_INT_RX_ENABLE
0x01
#define
SP_INT_TX_ENABLE
0x02
#define
SP_INT_LS_ENABLE
0x04
#define
SP_INT_MS_ENABLE
0x08
#define
NS16550_ENABLE_ALL_INTR
(SP_INT_RX_ENABLE | SP_INT_TX_ENABLE)
#define
NS16550_DISABLE_ALL_INTR
0x00
#define
NS16550_ENABLE_ALL_INTR_EXCEPT_TX
(SP_INT_RX_ENABLE)
#define
SP_IID_0
0x01
#define
SP_IID_1
0x02
#define
SP_IID_2
0x04
#define
SP_IID_3
0x08
#define
SP_FIFO_ENABLE
0x01
#define
SP_FIFO_RXRST
0x02
#define
SP_FIFO_TXRST
0x04
#define
SP_FIFO_DMA
0x08
#define
SP_FIFO_RXLEVEL
0xc0
#define
SP_FIFO_SIZE
16
#define
SP_LINE_SIZE
0x03
#define
SP_LINE_STOP
0x04
#define
SP_LINE_PAR
0x08
#define
SP_LINE_ODD
0x10
#define
SP_LINE_STICK
0x20
#define
SP_LINE_BREAK
0x40
#define
SP_LINE_DLAB
0x80
#define
FIVE_BITS
0x0
#define
SIX_BITS
0x1
#define
SEVEN_BITS
0x2
#define
EIGHT_BITS
0x3
#define
SP_MODEM_DTR
0x01
#define
SP_MODEM_RTS
0x02
#define
SP_MODEM_IRQ
0x08
#define
SP_MODEM_LOOP
0x10
#define
SP_MODEM_DIV4
0x80
#define
SP_LSR_RDY
0x01
#define
SP_LSR_EOVRUN
0x02
#define
SP_LSR_EPAR
0x04
#define
SP_LSR_EFRAME
0x08
#define
SP_LSR_BREAK
0x10
#define
SP_LSR_THOLD
0x20
#define
SP_LSR_TX
0x40
#define
SP_LSR_EFIFO
0x80
Generated by
1.18.0