NVM3Lock

Detailed Description

NVM3 lock module.

This module provides data protection tools for NVM3.

The functions in this module are the default protection tools for NVM3. The application can substitute the nvm3_lockBegin and nvm3_lockEnd functions as long as the NVM3 functions are protected from being called re-entrant.

Note
These functions are used by the NVM3 and should not be used by any applications.

Functions

void nvm3_lockBegin (void)
Begin a lock section.
void nvm3_lockEnd (void)
End a lock section.

Function Documentation

SL_WEAK void nvm3_lockBegin ( void )

Begin a lock section.

The default implementation is using CORE_ENTER_CRITICAL() .

Definition at line 87 of file nvm3_lock.c .

References CORE_ENTER_CRITICAL .

SL_WEAK void nvm3_lockEnd ( void )

End a lock section.

The default implementation is using CORE_EXIT_CRITICAL() .

Definition at line 102 of file nvm3_lock.c .

References CORE_EXIT_CRITICAL .