nvramManualUpdateBackground
nvramManualUpdateBackground | ||||
Function | Starts a manual update of the NVRAM content. | |||
Syntax | uint32 nvramManualUpdateBackground(void) | |||
Description | This function starts a manual update of the NVRAM content. Manual update has precedence over the automatic periodical update. Thus, a potentially running periodical update is aborted. But if cyclic update is on the way (the Idle task is interrupted by a preemptive task with the call of this function), start of manual update is impossible This function returns immediately, because the update is running in the background (Idle task). The completion of this process can be tested via the function nvramCheckRunningUpdate().
| |||
Return code | EC_NVRAM_SUCCESS | Success | ||
EC_NVRAM_NO_NV_VARIABLES | No NV variables inside the model | |||
EC_NVRAM_FATAL_ERROR | Fatal error occurred before | |||
EC_NVRAM_OVERFLOW | Overflow of NVRAM. Reduce Number / Size of NV variables. | |||
EC_NVRAM_UPDATE_RUNNING | Other update process (manual or cyclic) is currently running. Start of manual update failed. | |||
Example | --- | |||
See also | ||||