Go to the documentation of this file.
162 #if defined(OS_CONFIG_HOOK_STARTUP) && OS_CONFIG_HOOK_STARTUP == true
173 #if defined(OS_CONFIG_HOOK_SHUTDOWN) && OS_CONFIG_HOOK_SHUTDOWN == true
186 #if (defined(OS_CONFIG_HOOK_PRE_TASK) && OS_CONFIG_HOOK_PRE_TASK == true) || defined(__DOXYGEN__)
198 #if (defined(OS_CONFIG_HOOK_POST_TASK) && OS_CONFIG_HOOK_POST_TASK == true) || defined(__DOXYGEN__)
210 #if (defined(OS_CONFIG_HOOK_ERROR) && OS_CONFIG_HOOK_ERROR == true) || defined(__DOXYGEN__)
223 #if (defined(OS_CONFIG_HOOK_PROTECTION) && OS_CONFIG_HOOK_PROTECTION == true) || defined(__DOXYGEN__)
void OS_EnableAllInterrupts(void)
Enable all interrupts.
void OS_Switch(void)
Switch to new task.
enum ProtectionReturnType_e ProtectionReturnType
Return type for protection hook.
enum StatusType_e StatusType
Type for status.
void OS_ShutdownOS(StatusType error)
Shutdown operating system.
void OS_ProtectionHookInternal(StatusType error)
Internal function for protection hook handling.
AppModeType OS_GetActiveApplicationMode(void)
Get currently active application mode.
ProtectionReturnType ProtectionHook(StatusType fatalError)
ProtectionHook function.
void PostTaskHook(void)
PostTask hook function.
void OS_StartOS(AppModeType mode)
Start operating system.
void OS_Schedule(void)
Schedule task.
void OS_SuspendAllInterrupts(void)
Suspend all interrupts.
void __attribute__((naked)) OS_ScheduleC(void)
Task switch.
void ErrorHook(StatusType error)
PostTask hook function.
void PreTaskHook(void)
PreTask hook function.
void OS_ResumeOSInterrupts(void)
Resume OS interrupts.
void OS_SuspendOSInterrupts(void)
Suspend OS interrupts.
void ShutdownHook(StatusType error)
Operating System Control Block.
void OS_ResumeAllInterrupts(void)
Resume all interrupts.
void OS_DisableAllInterrupts(void)
Disable all interrupts.
void OS_ShutdownOSStackOverrun(void)
Call OS_ShutdownOS() with E_OS_STACKFAULT.
enum applicationMode_e AppModeType
Type for application mode.