2020-04-05 13:29:29 +08:00
|
|
|
#ifndef _LS2K1000_H__
|
|
|
|
#define _LS2K1000_H__
|
|
|
|
|
|
|
|
#include <mips.h>
|
|
|
|
|
|
|
|
#define UART0_BASE_ADDR 0xbfe00000
|
|
|
|
#define UART0_OFF 0x0
|
|
|
|
#define UART0_BASE CKSEG1ADDR(UART0_BASE_ADDR + UART0_OFF)
|
|
|
|
|
2020-05-27 17:49:10 +08:00
|
|
|
#define GPIO_BASE 0xFFFFFFFFBFE10500
|
|
|
|
|
2020-04-05 13:29:29 +08:00
|
|
|
void rt_hw_timer_handler(void);
|
|
|
|
void rt_hw_uart_init(void);
|
|
|
|
|
2020-05-27 17:49:10 +08:00
|
|
|
#endif
|
|
|
|
|