Go to the source code of this file.
Defines | |
| #define | Wait_semaphore(a) while(!(a)) (a) = FALSE |
| _____ I N C L U D E S ____________________________________________________ | |
| #define | TASK_DUMMY 0x00 |
| _____ M A C R O S ________________________________________________________ Definition of Task ID. | |
| #define | TASK_0 0x01 |
| #define | TASK_1 0x02 |
| #define | TASK_2 0x04 |
| #define | TASK_3 0x08 |
| #define | TASK_4 0x10 |
| #define | TASK_5 0x20 |
| #define | TASK_6 0x40 |
| #define | TASK_7 0x80 |
| #define | ALL_TASK (TASK_0|TASK_1|TASK_2|TASK_3|TASK_4|TASK_5|TASK_6|TASK_7) |
| #define | SCHEDULER_CUSTOM 0 |
| End Task ID ----- Scheduler Types -----. | |
| #define | SCHEDULER_TIMED 1 |
| #define | SCHEDULER_TASK 2 |
| #define | SCHEDULER_FREE 3 |
| #define | Scheduler_call_next_task() |
| #define | Scheduler_new_schedule() |
| #define | Scheduler_call_next_init() |
Functions | |
| void | scheduler_init (void) |
| _____ D E C L A R A T I O N ______________________________________________ | |
| void | scheduler_tasks (void) |
| Task execution scheduler. | |
| void | scheduler (void) |
| Init & run the scheduler. | |
| void | scheduler_empty_fct (void) |
| Do nothing Avoid uncalled segment warning if the empty function is not used. | |
Variables | |
| bit | scheduler_tick_flag |
| _____ D E F I N I T I O N ________________________________________________ | |
Please read file license.txt for copyright notice.
This file contains the scheduler definition and the task function to be executed by the scheduler NOTE: SCHEDULER_TICK & FPER are defined in config.h
Definition in file scheduler.h.
|
|
_____ I N C L U D E S ____________________________________________________
Definition at line 29 of file scheduler.h. |
|
|
_____ M A C R O S ________________________________________________________ Definition of Task ID. This ID is used to properly send the event to a specific task. Mind, it will be possible to send an event to many task by TASK_1 | TASK_0. The name of the define can be changed by another define. That customization should be done in the file mail_evt.h Definition at line 38 of file scheduler.h. |
|
|
Definition at line 39 of file scheduler.h. |
|
|
Definition at line 40 of file scheduler.h. |
|
|
Definition at line 41 of file scheduler.h. |
|
|
Definition at line 42 of file scheduler.h. |
|
|
Definition at line 43 of file scheduler.h. |
|
|
Definition at line 44 of file scheduler.h. |
|
|
Definition at line 45 of file scheduler.h. |
|
|
Definition at line 46 of file scheduler.h. |
|
|
Definition at line 49 of file scheduler.h. |
|
|
End Task ID ----- Scheduler Types -----.
Definition at line 53 of file scheduler.h. |
|
|
Definition at line 54 of file scheduler.h. |
|
|
Definition at line 55 of file scheduler.h. |
|
|
Definition at line 56 of file scheduler.h. |
|
|
Definition at line 177 of file scheduler.h. Referenced by scheduler_tasks(). |
|
|
Definition at line 180 of file scheduler.h. Referenced by scheduler_tasks(). |
|
|
Definition at line 183 of file scheduler.h. Referenced by scheduler_init(). |
|
|
_____ D E C L A R A T I O N ______________________________________________ Task_x_init() and Task_x_fct() are defined in config.h
Definition at line 49 of file scheduler.c. References Scheduler_call_next_init, Scheduler_task_1_init, Scheduler_task_2_init, and Scheduler_time_init(). Referenced by scheduler().
|
|
|
Task execution scheduler.
Definition at line 110 of file scheduler.c. References Scheduler_call_next_task, scheduler_empty_fct(), Scheduler_new_schedule, Scheduler_task_1, and Scheduler_task_2.
|
|
|
Init & run the scheduler.
Definition at line 171 of file scheduler.c. References scheduler_init(), and scheduler_tasks().
|
|
|
Do nothing Avoid uncalled segment warning if the empty function is not used.
Definition at line 185 of file scheduler.c.
|
|
|
_____ D E F I N I T I O N ________________________________________________
Definition at line 143 of file scheduler.h. |
1.3.7