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

The default lock-begin implementation.


Definition at line 88 of file platform/emdrv/nvm3/src/nvm3_lock.c

nvm3_lockEnd#

void nvm3_lockEnd (void )

End a lock section.

Parameters
N/A

The default lock-end implementation.


Definition at line 103 of file platform/emdrv/nvm3/src/nvm3_lock.c

nvm3_lockDisableExecute#

void nvm3_lockDisableExecute (void * address, size_t size)

Disable execution from data area.

Parameters
[in]address

Start of memory range

[in]size

Size of memory range.

Disable execution from data area.


Definition at line 123 of file platform/emdrv/nvm3/src/nvm3_lock.c