Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
ZAF_retention_register.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Silicon Laboratories Inc. <https://www.silabs.com/>
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
14
15#ifndef ZAF_RETENTION_REGISTER_H_
16#define ZAF_RETENTION_REGISTER_H_
17
18#include <stddef.h>
19#include <zpal_status.h>
20
27
36zpal_status_t ZAF_retention_register_read(uint32_t index, uint32_t *data);
37
46zpal_status_t ZAF_retention_register_write(uint32_t index, uint32_t value);
47
54
59
60#endif /* ZAF_RETENTION_REGISTER_H_ */
zpal_status_t ZAF_retention_register_write(uint32_t index, uint32_t value)
Write a 32-bit value to the specified retention register.
size_t ZAF_retention_register_count(void)
Get number of retention registers available for application.
zpal_status_t ZAF_retention_register_read(uint32_t index, uint32_t *data)
Reads a 32-bit value from the specified retention register.
zpal_status_t
ZPAL statuses to be used by ZPAL APIs.
Definition zpal_status.h:38