summaryrefslogtreecommitdiff
path: root/bsp/upd70f3454/drivers/board.h
blob: 66ec065d5bef2660f6f2c37878165ea4e59ef48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
 * 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