3.3.8.6 NVMCTRL_RowErase
Erases a Row in the NVM
This function will erase one row in NVM. The address of the row to be erased is specified by the address parameter. This address can be any address in the row. Calling this function will cause the CPU execution to stall, hence blocking execution of any other thread. Execution resumes when the Erase operation has completed.
bool NVMCTRL_RowErase
(
uint32_t address
);
Precondition
- The NVMCTRL_Initialize() function should have been called once. Also validate if NVM controller is ready to accept new request by calling NVMCTRL_IsBusy().
Parameters
- address - Any address in the row to be erased.
Returns
- bool - returns true if write was successful, otherwise false.
