nvramInitModelVars
nvramInitModelVars | ||
Function | Initializes the NV variables. | |
Syntax | uint32 nvramInitModelVars(void) | |
Description | This function initializes the NV variables with the content of the NVRAM if this content is valid and matching. The initialization may be triggered only once (via C code, L1 or automatic flag) and only before any update of the NVRAM occurred. | |
Return code | EC_NVRAM_SUCCESS | Success |
EC_NVRAM_NO_NV_VARIABLES | No NV variables inside the model | |
EC_NVRAM_INADMISSIBLE_USE | Function has already been called | |
EC_NVRAM_INTERNAL_ERROR | An internal error occurred | |
EC_NVRAM_NO_MATCH | The NVRAM content does not match the current model | |
Example | --- | |
See also | ||