Rleg  2
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
main2.h
Go to the documentation of this file.
1 #ifndef MAIN2_H
2 #define MAIN2_H
3 
4 // Returns
5 #define SUCCESS 1
6 #define FAILURE -1
7 
8 int main(void);
9 int periodic_task_1(void);
10 int periodic_task_2(void);
11 void timer_start_task_1(void);
12 void timer_start_task_2(void);
13 void timer_stop_task_1(void);
14 void timer_stop_task_2(void);
15 void timer_function_task_1(void);
16 void timer_function_task_2(void);
17 int reset_timer(void);
18 int get_time(double *time_control_task_s, double *Ts_control_task_s, double *mean_time_control_task_s, double *t0_control_task_s);
19 void exit_program(void);
20 
21 #endif //MAIN2_H
void timer_stop_task_1(void)
Definition: main2.c:406
void timer_stop_task_2(void)
Definition: main2.c:416
void exit_program(void)
Internal function to end program.
Definition: main.c:180
int periodic_task_2(void)
Definition: main2.c:277
void timer_function_task_2(void)
Definition: main2.c:483
void timer_start_task_1(void)
Definition: main2.c:342
void timer_start_task_2(void)
Definition: main2.c:375
void timer_function_task_1(void)
Definition: main2.c:426
int periodic_task_1(void)
Definition: main2.c:190
int main(void)
Definition: main.c:42
int get_time(double *time_control_task_s, double *Ts_control_task_s, double *mean_time_control_task_s, double *t0_control_task_s)
Review of this function:
Definition: main.c:167
int reset_timer(void)
Definition: main.c:160