![]() |
AVR SD Safety Framework 1.0.0
|
Implements APIs for the Checksum Manager. More...
#include <stdbool.h>#include <stdint.h>#include <define_error_flags.h>#include <driver_crcscan.h>#include <midware_checksum_manager.h>#include <xc.h>Functions | |
| void | MW_ClearCrcPeriodInterrupt (void) |
| Clears the flag indicating that a CRC Scan period is done. | |
| errFlag_t | MW_GetClearCrcDoneError (void) |
| Reads and clears the flag indicating a CRC Scan of Flash is done and returns the scan result. | |
| errFlag_t | MW_SetCrcScanInterrupts (bool useNmi, bool usePeriod, bool useDone) |
| Configures the interrupt settings for the next CRC Scan of a Flash section. | |
| errFlag_t | MW_EnableCrcScan (flashSection_t section, bool useCrc32) |
| Enables a Cyclic Redundancy Check (CRC) Scan of the selected Flash section. | |
| bool | MW_IsCrcScanBusy (void) |
| Checks if a CRC Scan of a Flash section is ongoing. | |
| void | MW_AbortCrcScan (void) |
| Aborts an ongoing CRC Scan of a Flash section. | |
| errFlag_t | MW_StartCrcManualMode (bool useCrc32) |
| Starts a Cyclic Redundancy Check (CRC) Manual Mode calculation for manual data feeding. | |
| void | MW_FeedCrcManualMode (uint8_t data) |
| Feeds one byte into an ongoing CRC Manual Mode calculation. | |
| uint32_t | MW_EndCrcManualMode (void) |
| Ends a CRC Manual Mode calculation and returns the computed CRC result. | |
Implements APIs for the Checksum Manager.