NVM3 Lock
Description
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 | nvm3_lockBegin (void) |
Begin a lock section.
|
|
void | nvm3_lockEnd (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.
The default lock-begin implementation.
◆ nvm3_lockEnd()
void nvm3_lockEnd | ( | void |
|
) |
End a lock section.
The default lock-end implementation.
◆ nvm3_lockDisableExecute()
void nvm3_lockDisableExecute | ( | void * |
address,
|
size_t |
size
|
||
) |
Disable execution from data area.
Disable execution from data area.
- Parameters
-
[in] address
Start of memory range [in] size
Size of memory range.