Rleg  2
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
main.h
Go to the documentation of this file.
1 
6 #ifndef MAIN_H
7 #define MAIN_H
8 
9 #define FAILURE -1
10 #define SUCCESS 1
11 
16 #define TASK1_PERIOD 100000 //us
17 
20 int main(void);
21 
26 static void main_task(int signo);
27 
28 static void ui_task();
29 static void control_task();
30 
31 static void ui_hook(int signo);
32 static void control_hook(int signo);
33 
34 int reset_timer(void);
35 
36 void exit_program(void);
37 
38 #endif //MAIN_H
void exit_program(void)
Internal function to end program.
Definition: main.c:180
int reset_timer(void)
Definition: main.c:160
static void main_task(int signo)
Main Periodic Task.
static void control_task()
static void control_hook(int signo)
int main(void)
Definition: main.c:42
static void ui_hook(int signo)
static void ui_task()