8 #ifndef __PS_NV_COUNTERS_H__
9 #define __PS_NV_COUNTERS_H__
21 #include "tfm_plat_nv_counters.h"
23 #define TFM_PS_NV_COUNTER_1 PLAT_NV_COUNTER_0
24 #define TFM_PS_NV_COUNTER_2 PLAT_NV_COUNTER_1
25 #define TFM_PS_NV_COUNTER_3 PLAT_NV_COUNTER_2
27 #define PS_NV_COUNTER_SIZE 4
psa_status_t ps_increment_nv_counter(enum tfm_nv_counter_t counter_id)
Increments the given non-volatile (NV) counter.
psa_status_t ps_read_nv_counter(enum tfm_nv_counter_t counter_id, uint32_t *val)
Reads the given non-volatile (NV) counter.
int32_t psa_status_t
Function return status.