Interface for accessing NVM to perform FUOTA image related storage.
Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
Functions | |
status_code_t | FUOTA_NVM_Init (void) |
Initialize the non volatile memory specified. More... | |
status_code_t | FUOTA_NVM_Read (uint32_t address, void *buffer, uint32_t len) |
Read len number of bytes from address address in non volatile memory mem and store it in the buffer buffer. More... | |
status_code_t | FUOTA_NVM_Write (uint32_t address, void *buffer, uint32_t len) |
Write len number of bytes at address address in non volatile memory mem from the buffer buffer. More... | |
status_code_t FUOTA_NVM_Init | ( | void | ) |
Initialize the non volatile memory specified.
References nvm_init(), and STATUS_OK.
status_code_t FUOTA_NVM_Read | ( | uint32_t | address, |
void * | buffer, | ||
uint32_t | len | ||
) |
Read len number of bytes from address address in non volatile memory mem and store it in the buffer buffer.
address | Address to read |
buffer | Pointer to destination buffer |
len | Number of bytes to read |
References STATUS_BUSY, and STATUS_OK.
status_code_t FUOTA_NVM_Write | ( | uint32_t | address, |
void * | buffer, | ||
uint32_t | len | ||
) |
Write len number of bytes at address address in non volatile memory mem from the buffer buffer.
address | Address to write |
buffer | Pointer to source buffer |
len | Number of bytes to write |
References STATUS_OK.