18#ifndef __LIFECYCLE_H__
19#define __LIFECYCLE_H__
27#include "mbed_toolchain.h"
35#define PSA_LIFECYCLE_STATE_MASK (0xff00u)
36#define PSA_LIFECYCLE_SUBSTATE_MASK (0x00ffu)
38#define PSA_LIFECYCLE_UNKNOWN (0x0000u)
39#define PSA_LIFECYCLE_ASSEMBLY_AND_TEST (0x1000u)
40#define PSA_LIFECYCLE_PSA_ROT_PROVISIONING (0x2000u)
41#define PSA_LIFECYCLE_SECURED (0x3000u)
42#define PSA_LIFECYCLE_NON_PSA_ROT_DEBUG (0x4000u)
43#define PSA_LIFECYCLE_RECOVERABLE_PSA_ROT_DEBUG (0x5000u)
44#define PSA_LIFECYCLE_DECOMMISSIONED (0x6000u)
int32_t psa_status_t
Function return status.
uint32_t psa_security_lifecycle_state(void)
Get PSA RoT lifecycle state.
MBED_NORETURN void mbed_psa_system_reset()
Resets the system.
psa_status_t mbed_psa_reboot_and_request_new_security_state(uint32_t new_state)
Request state change.