Cleaning up #defines from bad approach
This commit is contained in:
parent
50757427be
commit
98f7ce6f1e
1 changed files with 0 additions and 4 deletions
|
|
@ -4,10 +4,6 @@
|
|||
#define UART_RBR (volatile uint8_t *)(UART_ADDRESS + 0)
|
||||
#define UART_LSR (volatile uint8_t *)(UART_ADDRESS + 5)
|
||||
#define UART_ADDRESS 0x10000000
|
||||
#define UART_INTERRUPT_ENABLE_REGISTER 0x1001100C
|
||||
#define UART_INTEN_OFFSET 0x0C
|
||||
#define UART_TX_OFFSET 0x04
|
||||
#define UART_INTERRUPT_ENABLE_REGISTER (UART_BASE_ADDR + UART_INTEN_OFFSET)
|
||||
|
||||
void uart_init();
|
||||
void uart_put(size_t base_addr, uint8_t data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue