This file defines non-volatile memory functions platform abstraction interface.
More...
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
|
|
#define | IOTMI_PAL_NVM_STORAGE_SIZE (256U) |
| | Non-volatile memory storage size.
|
| |
|
| bool | iotmiPal_nvmStore (uint8_t *pData, size_t size) |
| | Storage data to non-volatile memory.
|
| |
| bool | iotmiPal_nvmLoad (uint8_t *pData, size_t size) |
| | Load data from non-volatile memory.
|
| |
This file defines non-volatile memory functions platform abstraction interface.
◆ iotmiPal_nvmLoad()
| bool iotmiPal_nvmLoad |
( |
uint8_t * |
pData, |
|
|
size_t |
size |
|
) |
| |
Load data from non-volatile memory.
- Parameters
-
| [in] | pData | pointer of buffer to load the data. |
| [in] | size | Size of the data to load. |
- Returns
- Return true to indicate success. Return false when error.
◆ iotmiPal_nvmStore()
| bool iotmiPal_nvmStore |
( |
uint8_t * |
pData, |
|
|
size_t |
size |
|
) |
| |
Storage data to non-volatile memory.
- Parameters
-
| [in] | pData | pointer of data to store. |
| [in] | size | Size of the data to store. |
- Returns
- Return true to indicate success. Return false when error.