#include "lib/Para/SYS_Type.h"
#include "lib/Para/PARA_Lib.h"
Go to the source code of this file.
◆ PARA_FlashInit()
| void PARA_FlashInit |
( |
void |
| ) |
|
Initialization of parameter flash interface needs to be called before:
- HAL Init
- PARA_Init
- Error_Init
- SystemMessage_Init
- PARA_Backup_Init
◆ PARA_FlashReadFromBackup()
Reads backup-values from flash and stores them into parameter values.
All parameters with storage-location selected in parameter location are processed, all others are ignored. The parameter values are written with the OnWrite-function defined in the parameter itself. In case of an error, the default value is set.
- Parameters
-
All parameters with storage-location selected in parameter location are processed, all others are ignored. The parameter values are written with the OnWrite-function defined in the parameter itself. In case of an error, the default value is set. Flash must be unlocked!
- Parameters
-
◆ PARA_FlashRestoreDefaults()
◆ PARA_FlashWriteToBackup()
| bool PARA_FlashWriteToBackup |
( |
uint16_t |
location | ) |
|
Writes backup-values into flash All parameters with storage-location selected in parameter location are processed, all others are ignored.
- Parameters
-
| location | selects the storage location |
- Return values
-
◆ ParaFlashNMIHandler()
| bool ParaFlashNMIHandler |
( |
void |
| ) |
|
NMI is called in case of a double ECC Error.
If this occures while reading Parameter flash, set flag and return from NMI.