AVR SD Safety Framework 1.0.0
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>

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 Clock Failure Detection 0 (CFD0) monitor.
bool MW_IsDiagCfd0Ongoing (void)
 Checks whether the CFD0 error injection diagnostic 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 Clock Failure Detection 1 (CFD1) monitor.
bool MW_IsDiagCfd1Ongoing (void)
 Checks whether the CFD1 error injection diagnostic 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 APIs are used by T_RunStartupDiagnostics and T_RunNextLatentFaultDiag to test the safety mechanisms present.