FuSa 8-Bit Libraries Safety Framework
Loading...
Searching...
No Matches
midware_clock_manager_diag.h File Reference

Contains API prototypes for the Clock Manager Diagnostics. More...

#include <stdbool.h>
#include <define_error_flags.h>

Go to the source code of this file.

Functions

errFlag_t MW_DiagClockCfd0Begin (void)
 Starts error injection diagnostic to detect faults in the Clock Failure Detection 0 (CFD0) monitor.
errFlag_t MW_DiagClockCfd0End (void)
 Completes error injection diagnostic to detect faults in the CFD0 monitor.
bool MW_IsDiagCfd0Ongoing (void)
 Checks if the CFD0 error injection is ongoing.
errFlag_t MW_DiagClockCfd1Begin (void)
 Starts error injection diagnostic to detect faults in the Clock Failure Detection 1 (CFD1) monitor.
errFlag_t MW_DiagClockCfd1End (void)
 Completes error injection diagnostic to detect faults in the CFD1 monitor.
bool MW_IsDiagCfd1Ongoing (void)
 Checks if the CFD1 error injection is ongoing.
errFlag_t MW_DiagClockCfm0 (void)
 Performs error injection diagnostic to detect faults in the Clock Frequency Measure 0 (CFM0) monitor.
errFlag_t MW_DiagClockCfm1 (void)
 Performs error injection diagnostic to detect faults in the Clock Frequency Measure 1 (CFM1) monitor.

Detailed Description

Contains API prototypes for the Clock Manager Diagnostics.

The Clock Manager Diagnostics API are used by T_RunStartupDiagnostics and T_RunNextLatentFaultDiag to test the safety mechanisms present.

Definition in file midware_clock_manager_diag.h.