NVM3 Lock#

NVM3 lock functions.

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

Begin a lock section.

void

End a lock section.

void
nvm3_lockDisableExecute(void *address, size_t size)

Disable execution from data area.

Function Documentation#

nvm3_lockBegin#

void nvm3_lockBegin (void )

Begin a lock section.

Parameters
N/A

Definition at line 66 of file platform/emdrv/nvm3/inc/nvm3_lock.h

nvm3_lockEnd#

void nvm3_lockEnd (void )

End a lock section.

Parameters
N/A

Definition at line 72 of file platform/emdrv/nvm3/inc/nvm3_lock.h

nvm3_lockDisableExecute#

void nvm3_lockDisableExecute (void * address, size_t size)

Disable execution from data area.

Parameters
N/Aaddress
N/Asize

Definition at line 78 of file platform/emdrv/nvm3/inc/nvm3_lock.h