#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
◆ NVM_WRITE_CHUNK_SIZE
| #define NVM_WRITE_CHUNK_SIZE 64 |
◆ nvm_backup_restore_operation
| Enumerator |
|---|
| nvm_backup_restore_open | |
| nvm_backup_restore_read | |
| nvm_backup_restore_write | |
| nvm_backup_restore_close | |
◆ ZW_NVM_Backup()
| bool ZW_NVM_Backup |
( |
const char * |
filename, |
|
|
uint8_t |
chiptype |
|
) |
| |
Read the NVM from a device and write it into an output file
- Parameters
-
| filename | where the NVM backup should be stored |
| chiptype | Type of chip to write to ZW_GECKO_CHIP_TYPE (700 serries) or ZW_CHIP_TYPE (500 serries) |
◆ ZW_NVM_Restore()
| bool ZW_NVM_Restore |
( |
const char * |
filename, |
|
|
uint8_t |
chiptype |
|
) |
| |
Write the NVM from an input file to a 500 or 700 series device
- Parameters
-
| filename | from where the NVM backup should be restored |
| chiptype | Type of chip to write to ZW_GECKO_CHIP_TYPE (700 serries) or ZW_CHIP_TYPE (500 serries) |