AutosarOS
|
User application code. More...
Go to the source code of this file.
Macros | |
#define | DELAY_MS(ms) _delay_ms(ms) |
Functions | |
TASK (Idle) | |
TASK (T1) | |
TASK (T2) | |
TASK (T3) | |
TASK (T4) | |
TASK (T5) | |
TASK (T6) | |
TASK (T7) | |
TASK (T8) | |
TASK (T9) | |
TASK (T10) | |
TASK (T11) | |
void | StartupHook (void) |
void | ShutdownHook (StatusType error) |
void | PreTaskHook (void) |
PreTask hook function. More... | |
void | PostTaskHook (void) |
PostTask hook function. More... | |
void | ErrorHook (StatusType error) |
PostTask hook function. More... | |
ProtectionReturnType | ProtectionHook (StatusType fatalError) |
ProtectionHook function. More... | |
ISR (INT0_vect) | |
ISR (INT1_vect) | |
ISR (TIMER1_COMPA_vect) | |
ALARMCALLBACK (AlarmCb) | |
ISR (TIMER2_OVF_vect) | |
User application code.
This file contains code provided by the user.
Definition in file App.c.
void ErrorHook | ( | StatusType | error | ) |
void PostTaskHook | ( | void | ) |
PostTask hook function.
This hook function is called before a task leaves the running state but before a new task is selected. The ID of the task can be evaluated using OS_GetTaskID().
Definition at line 776 of file App.c.
void PreTaskHook | ( | void | ) |
PreTask hook function.
This hook function is called after a new task has entered the running state but before it is executed. The ID of the task can be evaluated using OS_GetTaskID().
Definition at line 768 of file App.c.
ProtectionReturnType ProtectionHook | ( | StatusType | fatalError | ) |
ProtectionHook function.
This hook function is called when an error is detected by the protection facilities (e.g. stack monitoring).
fatalError | Type of error that triggered the protection hook |
Definition at line 797 of file App.c.
void ShutdownHook | ( | StatusType | error | ) |