Software APIs
Data Fields
otp_kv Struct Reference

Defines an OTP target offset and num_values to program using either a value32 or a value64 buffer source depending on the type definition. More...

#include <sw/device/silicon_creator/manuf/lib/otp_img_types.h>

Data Fields

otp_val_type_t type
 OTP value type.
 
uint32_t offset
 Target absolute address with respect to the start of the OTP memory region.
 
uint32_t num_values
 Number of values to configure. More...
 
union {
const uint32_t * value32
 Points to an uint32_t buffer if the type is set to kOptValTypeUint32Buff.
 
const uint64_t * value64
 Points to an uint64_t buffer if the type is set to kOptValTypeUint64Buff.
 
}; 
 

Detailed Description

Defines an OTP target offset and num_values to program using either a value32 or a value64 buffer source depending on the type definition.

Definition at line 31 of file otp_img_types.h.

Field Documentation

◆ 

union { ... }

◆ num_values

uint32_t otp_kv::num_values

Number of values to configure.

This is equivalent to the ARRAYSIZE of either value32 or value64 depending on the value type.

Definition at line 43 of file otp_img_types.h.

◆ offset

uint32_t otp_kv::offset

Target absolute address with respect to the start of the OTP memory region.

Definition at line 38 of file otp_img_types.h.

◆ type

otp_val_type_t otp_kv::type

OTP value type.

Definition at line 33 of file otp_img_types.h.