1.1.20 Client - NVM APIs
This interface allows access to the NVM region of the WINCS02 device.
The geometry of the NVM region can be obtained by calling the function WDRV_WINC_NVMGeometryGet
which returns a pointer to a WDRV_WINC_NVM_GEOM_INFO
structure detailing the number and size of NVM sectors as well as the starting address.
NVM sectors can be erased by calling the function WDRV_WINC_NVMEraseSector
.
NVM sectors can be written to by calling the function WDRV_WINC_NVMWrite
.
NVM sectors can be read from by calling the function WDRV_WINC_NVMRead
.
The contents of NVM can be checked using a CRC or hash function using the function WDRV_WINC_NVMCheck
. The type WDRV_WINC_NVM_CHECK_MODE_TYPE
lists the algorithms available for checking.
Status on some NVM operations is returned via a WDRV_WINC_NVM_STATUS_CALLBACK
type callback.