ModusToolbox Safety Test Library
Loading...
Searching...
No Matches

General Description

Macros

#define CFG_REGS_TO_FLASH_MODE   (1u)
 Stores duplicates of registers to nonvolatile storage and compares duplicates with registers.
#define CFG_REGS_CRC_MODE   (0u)
 Calculates the registers CRC and stores to nonvolatile storage; recalculates CRC and compares with the saved CRC.
#define STARTUP_CFG_REGS_MODE   CFG_REGS_TO_FLASH_MODE
 Select which mode to use (CFG_REGS_TO_FLASH_MODE or CFG_REGS_CRC_MODE)
#define CRC_STARTUP_SEMAPHORE   (0x5Au)
 The first byte to store before storing CRC.
#define CRC_STARTUP_SEMAPHORE_SHIFT   (13u)
 The number of bytes from the end of nonvolatile storage.
#define CRC_STARTUP_LO   (12u)
 The number of bytes from the end of nonvolatile storage.

Macro Definition Documentation

◆ CFG_REGS_TO_FLASH_MODE

#define CFG_REGS_TO_FLASH_MODE   (1u)

Stores duplicates of registers to nonvolatile storage and compares duplicates with registers.

Registers can be restored in this mode.