Struct lpc55_pac::flash_cmpa::secure_boot_cfg::W
source · [−]pub struct W(_);
Expand description
Register SECURE_BOOT_CFG
writer
Implementations
sourceimpl W
impl W
sourcepub fn rsa4k(&mut self) -> RSA4K_W<'_>
pub fn rsa4k(&mut self) -> RSA4K_W<'_>
Bits 0:1 - Use RSA4096 keys only. 00- RSA2048 keys 01, 10, 11 - RSA4096 keys
sourcepub fn dice_enc_nxp_cfg(&mut self) -> DICE_ENC_NXP_CFG_W<'_>
pub fn dice_enc_nxp_cfg(&mut self) -> DICE_ENC_NXP_CFG_W<'_>
Bits 2:3 - Include NXP area in DICE computation. 00 - not included 01, 10, 11 - included
sourcepub fn dice_cust_cfg(&mut self) -> DICE_CUST_CFG_W<'_>
pub fn dice_cust_cfg(&mut self) -> DICE_CUST_CFG_W<'_>
Bits 4:5 - Include Customer factory area (including keys) in DICE computation. 00 - not included 01, 10, 11 - included
sourcepub fn skip_dice(&mut self) -> SKIP_DICE_W<'_>
pub fn skip_dice(&mut self) -> SKIP_DICE_W<'_>
Bits 6:7 - Skip DICE computation. 00 - Enable DICE 01,10,11 - Disable DICE
sourcepub fn tzm_image_type(&mut self) -> TZM_IMAGE_TYPE_W<'_>
pub fn tzm_image_type(&mut self) -> TZM_IMAGE_TYPE_W<'_>
Bits 8:9 - TrustZone-M mode. 00 - TZM mode in image header. 01 - Disable TZ-M. Boots to NonSecure. 10 - TZ-M enable boots to secure mode. 11 - Preset TZM checker from image header.
sourcepub fn block_set_key(&mut self) -> BLOCK_SET_KEY_W<'_>
pub fn block_set_key(&mut self) -> BLOCK_SET_KEY_W<'_>
Bits 10:11 - Block PUF key code generation. 00 - Enable Key code generation 01, 10, 11 - Disable key code generation
sourcepub fn block_enroll(&mut self) -> BLOCK_ENROLL_W<'_>
pub fn block_enroll(&mut self) -> BLOCK_ENROLL_W<'_>
Bits 12:13 - Block PUF enrollement. 00 - Enable enrollment mode 01, 10, 11 - Disable further enrollmnet
sourcepub fn dice_inc_sec_epoch(&mut self) -> DICE_INC_SEC_EPOCH_W<'_>
pub fn dice_inc_sec_epoch(&mut self) -> DICE_INC_SEC_EPOCH_W<'_>
Bits 14:15 - Include security EPOCH in DICE
sourcepub fn sec_boot_en(&mut self) -> SEC_BOOT_EN_W<'_>
pub fn sec_boot_en(&mut self) -> SEC_BOOT_EN_W<'_>
Bits 30:31 - Secure boot enable. 00 - Plain image (internal flash with or without CRC) 01, 10, 11 - Boot signed images. (internal flash, RSA signed)
Methods from Deref<Target = W<SECURE_BOOT_CFG_SPEC>>
Trait Implementations
sourceimpl From<W<SECURE_BOOT_CFG_SPEC>> for W
impl From<W<SECURE_BOOT_CFG_SPEC>> for W
sourcefn from(writer: W<SECURE_BOOT_CFG_SPEC>) -> Self
fn from(writer: W<SECURE_BOOT_CFG_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more