AVR SD Safety Framework 1.0.0
Loading...
Searching...
No Matches
tasks_startup.c File Reference

Implements APIs for Startup Tasks. More...

#include <stdbool.h>
#include <stdint.h>
#include <define_error_flags.h>
#include <define_error_ids.h>
#include <define_error_inject_reset.h>
#include <define_reset_info.h>
#include <define_reset_reason.h>
#include <error_handler.h>
#include <midware_error_manager.h>
#include <midware_interrupt_manager.h>
#include <midware_memory_manager.h>
#include <midware_power_manager_diag.h>
#include <midware_watchdog_manager.h>
#include <tasks_config.h>
#include <tasks_startup.h>
#include <tasks_startup_private.h>

Functions

void T_HandlePreStartupErrors (void)
 Retrieves and validates stored Pre-startup error flags from persistent memory and reports them to the Error Handler.
void T_InitSafetySystem (void)
 Initializes the Safety System according to Assumptions of Use and user configurations.
void T_RunStartupDiagnostics (void)
 Runs all enabled startup diagnostics and reports any detected faults to the Error Handler.
void T_StartMissionMode (void)
 Transitions the device from Safe State into Mission Mode.
void T_HandleResetReason (void)
 Retrieves and validates stored reset info from persistent memory and issues configurable callback for handling.

Detailed Description

Implements APIs for Startup Tasks.