/************************************************************************** * NAME: scheduler.h * * PURPOSE: Defining the the scheduler to be used in the system to organize* * the runtime for the tasks in the system based on priority. * * INFORMATION: * * GLOBAL VARIABLES: * * Variable Type Description * * -------- ---- ----------- * ***************************************************************************/ #ifndef SCHEDULER_H_ #define SCHEDULER_H_ #include /* Enum containing all the possible task priorities */ typedef enum { IDLE = 0, LOW, MEDIUM, HIGH, REALTIME, MAX_PRIORITY = 255 } taskPriority_t; typedef struct { const char * taskName; /* Name of the task */ const char * subTaskName; /*Needed?*/ }task_t; #endif /* SCHEDULER_H_ */