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 1. Parameters
Data direction Parameter name Description

[in]

row_address

Address of the row to erase

Returns

Status of the NVM row erase attempt.

Table 2. Return Values
Return value Description

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