SZSPTP ez430-RF2480 1.0

ZigBee Sensor Network with synchronized time and time-stamped measurements.
but.h
Go to the documentation of this file.
1 /*
2  * but.h
3  *
4  * Date: 19/06/2014
5  * Author: Fernando Biazi Nascimento
6  * Copyright © 2014 Fernando Biazi Nascimento. All rights reserved.
7  *
8  * License of use and copy on file license.txt
9  *
10  */
11 
23 #ifndef BUT_H_
24 #define BUT_H_
25 
26 /*
27  * ======== Includes ========
28  */
29 
30 #include <xdc/std.h>
31 
32 /*
33  * ======== Doxygen ========
34  */
35 
44 /*
45  * ======== Constants ========
46  */
47 
48 /*
49  * ======== Macros ========
50  */
51 
52 /*
53  * ======== Types ========
54  */
55 
56 /*
57  * ======== Global Variables ========
58  */
59 
60 /*
61  * ======== Global Functions ========
62  */
63 
64 void but_init();
65 UInt16 but_proccess();
66 
67 void but_clearPending();
68 UInt8 but_getPending();
69 
70 void BUT_ISR();
71 
75 #endif /* LED_H_ */
UInt8 but_getPending()
This function get number of button presses on the time window.
Definition: but.c:204
void BUT_ISR()
Button Interrupt Service Request on port 1.
Definition: but.c:216
UInt16 but_proccess()
This function processes the tasks of the button control.
Definition: but.c:132
void but_init()
This function initializes the button control variables.
Definition: but.c:108
void but_clearPending()
This function clear pending button presses.
Definition: but.c:193