1234567891011121314151617181920212223242526272829303132333435363738 |
- /*
- * File : board.h
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2009, RT-Thread Development Team
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rt-thread.org/license/LICENSE
- *
- * Change Logs:
- * Date Author Notes
- * 2009-09-22 Bernard add board.h to this bsp
- * 2010-02-04 Magicoe add board.h to LPC176x bsp
- */
- #ifndef __BOARD_H__
- #define __BOARD_H__
- #include "rtdef.h"
- #define LB900 1
- #define LM600 2
- #define LM201R 3
- #define LM201P 4
- #define LM101 5
- #define PLATFORM LM201R
- #define ENTER_KEY 0x1d
- #define UP_KEY 0x1b
- #define DOWN_KEY 0x17
- #define LEFT_KEY 0x0f
- #define RIGHT_KEY 0x1e
- void rt_hw_board_init(void);
- rt_uint8_t get_key(void);
- #endif
|