nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ NRF_LCS_MEM_VALUE_NOT_ENTERED

#define NRF_LCS_MEM_VALUE_NOT_ENTERED   0xFFFFFFFFU

The Life Cycle State memory backend API.

This file defines an API to read and write into memory slots that correspond to LCS values in memory. The memory can be a true or emulated OTP - the memory must be writable only once, naturally blocking backward LCS transitions.

The API is designed in such a way, that the memory backend does not need to include conditional statements to perform requested actions. This way all of the glitch-resistant logic can be implemented in the common code and the memory backend can be implemented in a simple and straightforward way. The read API uses a pointer to an output variable to distinguish between a successful read and a failed read to detect potential tampering attempts. The value read from memory corresponding to an LCS state when it is not entered.