Firmware User Manual (AE-step)
93
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
Prototype
int32_t user_nvm_page_erase (
uint32_t address
)
Parameters
Return Values
Remarks
This function does not support erasing any 100TP pages.
It is not allowed to be called by NVM callback routines or any interrupt or multi-threaded environment in a re-
entrant context.
6.8.21
user_nvm_page_erase_branch
Description
This user API function erases a given NVM page (address) and branches to an address (branch_address) for
code execution during the NVM operation.
This function rejects with an error in case the accessed NVM page is write protected.
Prototype
int32_t user_nvm_page_erase_branch (
uint32_t address
user_callback_t branch_address
)
Data Type
Name
Description
Dir
uint32_t
address
Address of the NVM page to erase. Non-aligned address is
accepted. Range is 0x11 device NVM size.
-
Data Type
Description
int32_t
ERR_LOG_SUCCESS in case of successful erase operation, otherwise a negative
error code. Returned error code can be one of the following: ERR_LOG_SUCCESS,
ERR_LOG_CODE_NVM_ADDR_RANGE_INVALID,
ERR_LOG_CODE_USER_PROTECT_NVM_WRITE_PROTECTED,
ERR_LOG_CODE_NVM_SEMAPHORE_RESERVED,