Struct lpc55_pac::flash_cmpa::prince_base_addr::R
source · [−]pub struct R(_);
Expand description
Register PRINCE_BASE_ADDR
reader
Implementations
sourceimpl R
impl R
sourcepub fn addr0_prg(&self) -> ADDR0_PRG_R
pub fn addr0_prg(&self) -> ADDR0_PRG_R
Bits 0:3 - Programmable portion of the base address of region 0.
sourcepub fn addr1_prg(&self) -> ADDR1_PRG_R
pub fn addr1_prg(&self) -> ADDR1_PRG_R
Bits 4:7 - Programmable portion of the base address of region 1.
sourcepub fn addr2_prg(&self) -> ADDR2_PRG_R
pub fn addr2_prg(&self) -> ADDR2_PRG_R
Bits 8:11 - Programmable portion of the base address of region 2.
sourcepub fn lock_reg0(&self) -> LOCK_REG0_R
pub fn lock_reg0(&self) -> LOCK_REG0_R
Bits 16:17 - Lock PRINCE region0 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
sourcepub fn lock_reg1(&self) -> LOCK_REG1_R
pub fn lock_reg1(&self) -> LOCK_REG1_R
Bits 18:19 - Lock PRINCE region1 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
sourcepub fn lock_reg2(&self) -> LOCK_REG2_R
pub fn lock_reg2(&self) -> LOCK_REG2_R
Bits 20:21 - Lock PRINCE region2 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
sourcepub fn reg0_erase_check_en(&self) -> REG0_ERASE_CHECK_EN_R
pub fn reg0_erase_check_en(&self) -> REG0_ERASE_CHECK_EN_R
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(&self) -> REG1_ERASE_CHECK_EN_R
pub fn reg1_erase_check_en(&self) -> REG1_ERASE_CHECK_EN_R
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(&self) -> REG2_ERASE_CHECK_EN_R
pub fn reg2_erase_check_en(&self) -> REG2_ERASE_CHECK_EN_R
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 = R<PRINCE_BASE_ADDR_SPEC>>
Trait Implementations
sourceimpl From<R<PRINCE_BASE_ADDR_SPEC>> for R
impl From<R<PRINCE_BASE_ADDR_SPEC>> for R
sourcefn from(reader: R<PRINCE_BASE_ADDR_SPEC>) -> Self
fn from(reader: R<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