Struct lpc55_pac::flash_cmpa::prince_base_addr::W
source · [−]pub struct W(_);
Expand description
Register PRINCE_BASE_ADDR
writer
Implementations
sourceimpl W
impl W
sourcepub fn addr0_prg(&mut self) -> ADDR0_PRG_W<'_>
pub fn addr0_prg(&mut self) -> ADDR0_PRG_W<'_>
Bits 0:3 - Programmable portion of the base address of region 0.
sourcepub fn addr1_prg(&mut self) -> ADDR1_PRG_W<'_>
pub fn addr1_prg(&mut self) -> ADDR1_PRG_W<'_>
Bits 4:7 - Programmable portion of the base address of region 1.
sourcepub fn addr2_prg(&mut self) -> ADDR2_PRG_W<'_>
pub fn addr2_prg(&mut self) -> ADDR2_PRG_W<'_>
Bits 8:11 - Programmable portion of the base address of region 2.
sourcepub fn lock_reg0(&mut self) -> LOCK_REG0_W<'_>
pub fn lock_reg0(&mut self) -> LOCK_REG0_W<'_>
Bits 16:17 - Lock PRINCE region0 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
sourcepub fn lock_reg1(&mut self) -> LOCK_REG1_W<'_>
pub fn lock_reg1(&mut self) -> LOCK_REG1_W<'_>
Bits 18:19 - Lock PRINCE region1 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
sourcepub fn lock_reg2(&mut self) -> LOCK_REG2_W<'_>
pub fn lock_reg2(&mut self) -> LOCK_REG2_W<'_>
Bits 20:21 - Lock PRINCE region2 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
sourcepub fn reg0_erase_check_en(&mut self) -> REG0_ERASE_CHECK_EN_W<'_>
pub fn reg0_erase_check_en(&mut self) -> REG0_ERASE_CHECK_EN_W<'_>
Bits 24:25 - For PRINCE region0 enable checking whether all encrypted pages are erased together. 00 - Check is disabled. 01, 10, 11 - Check is enabled.
sourcepub fn reg1_erase_check_en(&mut self) -> REG1_ERASE_CHECK_EN_W<'_>
pub fn reg1_erase_check_en(&mut self) -> REG1_ERASE_CHECK_EN_W<'_>
Bits 26:27 - For PRINCE region1 enable checking whether all encrypted pages are erased together. 00 - Check is disabled. 01, 10, 11 - Check is enabled.
sourcepub fn reg2_erase_check_en(&mut self) -> REG2_ERASE_CHECK_EN_W<'_>
pub fn reg2_erase_check_en(&mut self) -> REG2_ERASE_CHECK_EN_W<'_>
Bits 28:29 - For PRINCE region2 enable checking whether all encrypted pages are erased together. 00 - Check is disabled. 01, 10, 11 - Check is enabled.
Methods from Deref<Target = W<PRINCE_BASE_ADDR_SPEC>>
Trait Implementations
sourceimpl From<W<PRINCE_BASE_ADDR_SPEC>> for W
impl From<W<PRINCE_BASE_ADDR_SPEC>> for W
sourcefn from(writer: W<PRINCE_BASE_ADDR_SPEC>) -> Self
fn from(writer: W<PRINCE_BASE_ADDR_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