buttons.h
1 /*
2  * Copyright 2014 Freie Universit├Ąt Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
9 #ifndef BUTTONS_H
10 #define BUTTONS_H
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 // Button ports
17 #define BUTTON_STAR_PIN (BIT2)
18 #define BUTTON_NUM_PIN (BIT1)
19 #define BUTTON_UP_PIN (BIT4)
20 #define BUTTON_DOWN_PIN (BIT0)
21 #define BUTTON_BACKLIGHT_PIN (BIT3)
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif /* BUTTONS_H */