2017-07-09 | Paul Boddie | raw annotate files changeset graph | Make LCD register access relative to a supplied base parameter. |
1 #ifndef __TASKS_H__ 2 #define __TASKS_H__ 3 4 #include <stdint.h> 5 6 /* Provide a limit to the number of tasks (in a way that employs a constant). */ 7 8 enum { max_tasks = 10 }; 9 10 /* Task management functions. */ 11 12 void init_tasks(); 13 void init_task(); 14 void start_tasks(); 15 void start_task(uint8_t, void (*)(), uint32_t[], uint8_t); 16 void start_task_now(); 17 void switch_task(); 18 19 #endif /* __TASKS_H__ */