3.3.8.4 NVMCTRL_PageWrite
Writes one page of data to given NVM address.
This function will write one page of data to the NVM address specified by the address parameter. The size of the input buffer should be one NVM page. The address should be aligned on a page boundary.
void NVMCTRL_PageWrite
(
uint32_t *data,
const uint32_t address
);
Precondition
-
The NVMCTRL_Initialize() function should have been called once. Also validate if NVM controller is ready to accept a new request by calling NVMCTRL_IsBusy().
The Flash page should be in erased state (all bytes should be 0xff) before performing page write.
Parameters
- data - start address of page to be written. This should be aligned on apage boundary
- address - pointer to data buffer. The size of this buffer should be the same asthe page size.
Returns
- bool - Always returns true.
