10.6.3.2.5 Function nvm_erase_row()

Erases a row in the NVM memory space.

enum status_code nvm_erase_row( const uint32_t row_address)

Erases a given row in the NVM memory region.

Table 10-15. Parameters
Data directionParameter nameDescription

[in]

row_address

Address of the row to erase

Returns

Status of the NVM row erase attempt.

Table 10-16. Return Values
Return valueDescription

STATUS_OK

Requested NVM memory row was successfully erased

STATUS_BUSY

NVM controller was busy when the operation was attempted

STATUS_ERR_BAD_ADDRESS

The requested row address was outside the acceptable range of the NVM memory region or not aligned to the start of a row