rt-thread/bsp/ls2kdev/drivers/ls2k1000.h

17 lines
290 B
C
Raw Normal View History

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)
#define GPIO_BASE 0xFFFFFFFFBFE10500
2020-04-05 13:29:29 +08:00
void rt_hw_timer_handler(void);
void rt_hw_uart_init(void);
#endif