summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Aberg <maberg@gaisler.com>2017-03-06 11:14:23 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2017-05-02 12:34:45 +0200
commit7cb932504750b7a2c88812139812e43e94a77d6b (patch)
tree503f929009e1ada647ee04a0d7ced3e96863a9d3
parentleon, clock: new driver manager clock driver (diff)
downloadrtems-7cb932504750b7a2c88812139812e43e94a77d6b.tar.bz2
leon, apbuart: added register defines: FIFO, delay int
The FIFOs available capability bit is available in the UART Control Register: FIFOs available (FA) - Set to 1 when receiver and transmitter FIFOs are available. When 0, only holding register is available. Delay interrupt can delay a receive character interrupt to better handle RX bursts.
-rw-r--r--c/src/lib/libbsp/sparc/shared/include/apbuart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/apbuart.h b/c/src/lib/libbsp/sparc/shared/include/apbuart.h
index 2f34a11083..326e769592 100644
--- a/c/src/lib/libbsp/sparc/shared/include/apbuart.h
+++ b/c/src/lib/libbsp/sparc/shared/include/apbuart.h
@@ -63,6 +63,9 @@ typedef struct {
#define APBUART_CTRL_EC 0x100
#define APBUART_CTRL_TF 0x200
#define APBUART_CTRL_RF 0x400
+#define APBUART_CTRL_BI 0x1000
+#define APBUART_CTRL_DI 0x2000
+#define APBUART_CTRL_FA 0x80000000
#define APBUART_STATUS_DR 0x1
#define APBUART_STATUS_TS 0x2