nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
nrf_lcs_mem.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Nordic Semiconductor ASA.
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef NRF_LCS_MEM_H__
8#define NRF_LCS_MEM_H__
9
10#include <stdint.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
35#define NRF_LCS_MEM_VALUE_NOT_ENTERED 0xFFFFFFFFU
36
40#define NRF_LCS_MEM_FORMAT_MAGIC 0x355cbc23U
41
49int nrf_lcs_mem_provisioning_read(uint32_t *value);
50
60
68int nrf_lcs_mem_secured_read(uint32_t *value);
69
77int nrf_lcs_mem_secured_write(uint32_t value);
78
87
96
97#ifdef __cplusplus
98}
99#endif
100
101#endif /* NRF_LCS_MEM_H__ */
int nrf_lcs_mem_secured_read(uint32_t *value)
Query the secured Life Cycle State value.
int nrf_lcs_mem_provisioning_read(uint32_t *value)
Query the PSA RoT provisioning Life Cycle State value.
int nrf_lcs_mem_decommissioned_read(uint32_t *value)
Query the decommissioned Life Cycle State value.
int nrf_lcs_mem_secured_write(uint32_t value)
Enter the secured Life Cycle State.
int nrf_lcs_mem_provisioning_write(uint32_t value)
Enter the PSA RoT provisioning Life Cycle State.
int nrf_lcs_mem_decommissioned_write(uint32_t value)
Enter the decommissioned Life Cycle State.