diff options
-rw-r--r-- | machine/uart.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/machine/uart.h b/machine/uart.h index 928009d..61662fe 100644 --- a/machine/uart.h +++ b/machine/uart.h @@ -11,7 +11,9 @@ extern volatile uint32_t* uart; #define UART_REG_RXFIFO 1 #define UART_REG_TXCTRL 2 #define UART_REG_RXCTRL 3 -#define UART_REG_DIV 4 +#define UART_REG_IE 4 +#define UART_REG_IP 5 +#define UART_REG_DIV 6 #define UART_TXEN 0x1 #define UART_RXEN 0x1 |