nvramSetConsistencyLevel

nvramSetConsistencyLevel

Function

Sets the level of NV variable data consistency.

Syntax

uint32 nvramSetConsistencyLevel(T_consistencyLevel level)

Description

Sets the level of NV variable data consistency.

No consistency: NVRAM update is done without respect to consistency inside NV variables and between individual NV variables.

Low level consistency: data consistency within NV variables (scalars, vectors and matrices but not characteristics) is guaranteed.

High level consistency: all NV variables are updated without interruption by the model, out of the idle task.

Return code

EC_NVRAM_SUCCESS

Success

EC_NVRAM_INVALID_ARG

Invalid level argument

Parameter

level

NVRAM_NO_CONSISTENCY

NVRAM_LOW_CONSISTENCY

NVRAM_HIGH_CONSISTENCY

Example

---

See also

nvramGetConsistencyLevel