Type Alias esp32h2::efuse::rd_repeat_data2::R

source ·
pub type R = R<RD_REPEAT_DATA2_SPEC>;
Expand description

Register RD_REPEAT_DATA2 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn key_purpose_2(&self) -> KEY_PURPOSE_2_R

Bits 0:3 - Represents the purpose of Key2.

source

pub fn key_purpose_3(&self) -> KEY_PURPOSE_3_R

Bits 4:7 - Represents the purpose of Key3.

source

pub fn key_purpose_4(&self) -> KEY_PURPOSE_4_R

Bits 8:11 - Represents the purpose of Key4.

source

pub fn key_purpose_5(&self) -> KEY_PURPOSE_5_R

Bits 12:15 - Represents the purpose of Key5.

source

pub fn sec_dpa_level(&self) -> SEC_DPA_LEVEL_R

Bits 16:17 - Represents the spa secure level by configuring the clock random divide mode.

source

pub fn ecdsa_force_use_hardware_k(&self) -> ECDSA_FORCE_USE_HARDWARE_K_R

Bit 18 - Represents whether hardware random number k is forced used in ESDCA. 1: force used. 0: not force used.

source

pub fn crypt_dpa_enable(&self) -> CRYPT_DPA_ENABLE_R

Bit 19 - Represents whether anti-dpa attack is enabled. 1:enabled. 0: disabled.

source

pub fn secure_boot_en(&self) -> SECURE_BOOT_EN_R

Bit 20 - Represents whether secure boot is enabled or disabled. 1: enabled. 0: disabled.

source

pub fn secure_boot_aggressive_revoke(&self) -> SECURE_BOOT_AGGRESSIVE_REVOKE_R

Bit 21 - Represents whether revoking aggressive secure boot is enabled or disabled. 1: enabled. 0: disabled.

source

pub fn rpt4_reserved2_0(&self) -> RPT4_RESERVED2_0_R

Bits 22:27 - Reserved.

source

pub fn flash_tpuw(&self) -> FLASH_TPUW_R

Bits 28:31 - Represents the flash waiting time after power-up, in unit of ms. When the value less than 15, the waiting time is the programmed value. Otherwise, the waiting time is 2 times the programmed value.