mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 17:53:31 +08:00
50039211b4
Signed-off-by: Du Huanpeng <548708880@qq.com>
18 lines
330 B
C
18 lines
330 B
C
#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
|
|
#define PLL_SYS_BASE 0xFFFFFFFFBFE10480
|
|
|
|
void rt_hw_timer_handler(void);
|
|
void rt_hw_uart_init(void);
|
|
|
|
#endif
|
|
|