mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-07 08:24:34 +08:00
17 lines
290 B
C
17 lines
290 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
|
|
|
|
void rt_hw_timer_handler(void);
|
|
void rt_hw_uart_init(void);
|
|
|
|
#endif
|
|
|