IoT managed integrations End Device SDK
Loading...
Searching...
No Matches
iotmi_pal_Nvm.h
Go to the documentation of this file.
1/*
2 * Copyright 2025 Amazon.com, Inc. or its affiliates. All rights reserved.
3 *
4 * AMAZON PROPRIETARY/CONFIDENTIAL
5 *
6 * You may not use this file except in compliance with the terms and
7 * conditions set forth in the accompanying LICENSE.txt file.
8 *
9 * THESE MATERIALS ARE PROVIDED ON AN "AS IS" BASIS. AMAZON SPECIFICALLY
10 * DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS,
11 * IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY,
12 * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
13 */
14
21#ifndef IOTMI_PAL_NVM_H_
22#define IOTMI_PAL_NVM_H_
23
24#include <stdbool.h>
25#include <stddef.h>
26#include <stdint.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
35#define IOTMI_PAL_NVM_STORAGE_SIZE (256U)
36
45bool iotmiPal_nvmStore(uint8_t* pData, size_t size);
46
55bool iotmiPal_nvmLoad(uint8_t* pData, size_t size);
56
57#ifdef __cplusplus
58}
59#endif
60
61#endif /* ifndef IOTMI_PAL_NVM_H_ */
bool iotmiPal_nvmLoad(uint8_t *pData, size_t size)
Load data from non-volatile memory.
bool iotmiPal_nvmStore(uint8_t *pData, size_t size)
Storage data to non-volatile memory.