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)
58 #if defined (__AVR_ATmega32__)
60 MCUCR = 1 << ISC01 | 0 << ISC00;
61 #elif defined (__AVR_ATmega128__) || defined (__AVR_ATmega1284__)
62 EICRA = 1 << ISC01 | 0 << ISC00;
66 #if defined (OS_CONFIG_SIM) && OS_CONFIG_SIM == true
67 #if defined (__AVR_ATmega128__)
76 #error Unknown CPU defined!
95 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.