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

Implements APIs for the Checksum Manager Diagnostic. More...

#include <stdbool.h>
#include <stdint.h>
#include <define_error_flags.h>
#include <driver_crcscan.h>
#include <driver_slpctrl.h>
#include <midware_checksum_manager_diag.h>
#include <midware_checksum_manager_diag_asm.h>
#include <xc.h>

Functions

bool MW_IsDiagCrcOngoing (void)
 Checks whether a CRC Scan error injection diagnostic is currently running.
void MW_ReportDiagCrcDone (void)
 Clears the Done interrupt flag and signals the CRC Scan diagnostic to complete and resume execution.
errFlag_t MW_DiagCrcScan (void)
 Performs an error injection diagnostic to detect faults in the CRC Memory Scan mechanism.

Detailed Description

Implements APIs for the Checksum Manager Diagnostic.