*/\r
\r
/** \file\r
+ * \brief Simple round-robbin pseudo-task scheduler.\r
*\r
* Simple round-robbin cooperative scheduler for use in basic projects where non real-time tasks need\r
* to be executed. Each task is executed in sequence, and can be enabled or disabled individually or as a group.\r
* {\r
* { .Task = MyTask1, .TaskStatus = TASK_RUN, .GroupID = 1 },\r
* { .Task = MyTask2, .TaskStatus = TASK_RUN, .GroupID = 1 },\r
- * };\r
+ * }\r
*\r
* int main(void)\r
* {\r
#define __SCHEDULER_H__\r
\r
/* Includes: */\r
- #if defined(__AVR32__)\r
- #include <avr32/io.h>\r
- #include <stdbool.h>\r
- #elif defined(__AVR__)\r
#include <avr/io.h>\r
- #include <util/atomic.h>\r
#include <stdbool.h>\r
- #endif\r
+ \r
+ #include <util/atomic.h>\r
\r
- #include "../Common/Common.h"\r
+ #include "../Common/Common.h"\r
\r
/* Enable C linkage for C++ Compilers: */\r
#if defined(__cplusplus)\r
*/\r
typedef uint16_t SchedulerDelayCounter_t;\r
\r
- /** Structure for holding a single task's information in the scheduler task list. */\r
+ /** \brief Scheduler Task List Entry Structure.\r
+ *\r
+ * Structure for holding a single task's information in the scheduler task list.\r
+ */\r
typedef struct\r
{\r
TaskPtr_t Task; /**< Pointer to the task to execute. */\r