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)
69 #if defined (__AVR_ATmega32__)
71 #elif defined (__AVR_ATmega128__) || defined (__AVR_ATmega1284__)
73 #if defined (OS_CONFIG_SIM) && OS_CONFIG_SIM == true
74 #if defined (__AVR_ATmega128__)
83 #error Unknown CPU defined!
102 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.
void PreTaskHook(void)
PreTask hook function.
volatile uint8_t isCat2ISR
Priority of current Cat 2 ISR (zero if not in Cat 2 ISR)
volatile bool isISR
Is currently ISR context?
#define assert(expression)
@ SUSPENDED
The task is suspended and will not be scheduled.
void PostTaskHook(void)
PostTask hook function.
void ShutdownHook(StatusType error)
enum OsTaskState_e TaskStateType
Task state.