Rleg
2
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
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
exit_program
void exit_program(void)
Internal function to end program.
Definition:
main.c:180
reset_timer
int reset_timer(void)
Definition:
main.c:160
main_task
static void main_task(int signo)
Main Periodic Task.
control_task
static void control_task()
control_hook
static void control_hook(int signo)
main
int main(void)
Definition:
main.c:42
ui_hook
static void ui_hook(int signo)
ui_task
static void ui_task()
Generated on Tue Mar 18 2014 14:30:11 for Rleg by
1.8.6