Single UART with I2C-bus/SPI interface, 64 bytes of transmit and receive FIFOs, IrDA SIR built-in support
Dependencies: mbed
Diff: SC16IS750.h
- Revision:
- 0:e35a417c6590
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SC16IS750.h Wed Feb 04 06:14:43 2015 +0000 @@ -0,0 +1,29 @@ +// SC16IS750 I2C-UART +#define SC16IS750_ADDR 0x98 + +#define RHR 0x00 +#define THR 0x00 +#define IER 0x01 +#define IIR 0x02 +#define FCR 0x02 +#define LCR 0x03 +#define MCR 0x04 +#define LSR 0x05 +#define MSR 0x06 +#define SPR 0x07 +#define TCR 0x06 +#define TLR 0x07 +#define TXLVL 0x08 +#define RXLVL 0x09 +#define IODir 0x0a +#define IOState 0x0b +#define IOIntEna 0x0c +#define IOControl 0x0e +#define EFCR 0x0f +#define DLL 0x00 +#define DLH 0x01 +#define EFR 0x02 +#define XON1 0x04 +#define XON2 0x05 +#define XOFF1 0x06 +#define XOFF2 0x07