Files
eb001/tb/sw/periph/uart.h

32 lines
464 B
C
Raw Normal View History

#ifndef _UART_H_
#define _UART_H_
#include <stdint.h>
#define UART_BASE 0x3010000U
#define UART_TXFIFO 0x00
#define UART_RXFIFO 0x04
#define UART_TXCTRL 0x08
#define UART_TXMARK 0x0a
#define UART_RXCTRL 0x0c
#define UART_RXMARK 0x0e
#define UART_IE 0x10
#define UART_IP 0x14
#define UART_DIV 0x18
#define UART_PARITY 0x1c
#define UART_WIRE4 0x20
#define UART_EITHER8OR9 0x24
#endif