Go to the documentation of this file.
19 #include <util/delay.h>
21 #if defined (OS_CONFIG_SIM) && OS_CONFIG_SIM == true
24 #define DELAY_MS(ms) _delay_ms(ms)
110 #if defined (__AVR_ATmega32__)
112 #elif defined (__AVR_ATmega128__) || defined (__AVR_ATmega1284__)
114 #if defined (OS_CONFIG_SIM) && OS_CONFIG_SIM == true
115 #if defined (__AVR_ATmega128__)
119 TCCR2B = (1 << CS20);
120 TIMSK2 |= 1 << TOIE2;
124 #error Unknown CPU defined!
143 for (uint8_t i = 0; i < 11; i++) {
enum tasks_e TaskType
Type for task reference.
enum StatusType_e StatusType
Type for status.
void ErrorHook(StatusType error)
PostTask hook function.
Assert macros and functions.
@ SCHEDULETABLE_STOPPED
Schedule table is stopped.
void PreTaskHook(void)
PreTask hook function.
#define StartScheduleTableRel
#define StartScheduleTableAbs
#define assert(expression)
@ SUSPENDED
The task is suspended and will not be scheduled.
#define NextScheduleTable
#define StopScheduleTable
void PostTaskHook(void)
PostTask hook function.
enum scheduleTableState_e ScheduleTableStatusType
State of schedule table.
void ShutdownHook(StatusType error)
volatile struct counter_s * Counter_Cfg[]
Current counter control blocks.
enum OsTaskState_e TaskStateType
Task state.
#define GetScheduleTableStatus
@ SCHEDULETABLE_RUNNING
Schedule table is running.