FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
Pre-startup

Contains API prototype for Pre-startup Task Manager. More...

Files

file  task_manager_pre_startup.c
 Implements API for Pre-startup Task Manager.

Functions

void TM_PreStartup (void)
 Manages safety system Pre-startup Tasks.

Detailed Description

Contains API prototype for Pre-startup Task Manager.

Version
1.0.0-alpha.1

The Pre-startup Task Manager is responsible for executing the pre-startup sequence by calling Tasks that should run immediately after a system reset and perform several device resets for system diagnostics until the sequence is completed.

UML Class Diagrams

UML Sequence Diagrams

Function Documentation

◆ TM_PreStartup()

void TM_PreStartup ( void )

Manages safety system Pre-startup Tasks.

This function executes the safety system pre-startup sequence intended to run before entering the main function. The sequence calls Tasks that ensure that the system is in the Safe State immediately after a system reset, detects and reports the system reset reason and runs error injection diagnostics that causes device resets multiple times, repeating the first steps until the sequence is complete.

Warning
This function will reset the device as part of normal execution.
The Tasks called in this function have side effects documented in T_EnsureSafeState, T_DetermineResetReason and T_RunResetDiagnosticFsm.
Intended to be called inside the .init3 memory section (see restrictions in init3).

Definition at line 27 of file task_manager_pre_startup.c.