[−][src]Struct lpc55s6x_pac::flash_cmpa::prince_base_addr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn addr0_prg(&self) -> ADDR0_PRGR
[src]
Bits 0:3 - Programmable portion of the base address of region 0.
pub fn addr1_prg(&self) -> ADDR1_PRGR
[src]
Bits 4:7 - Programmable portion of the base address of region 1.
pub fn addr2_prg(&self) -> ADDR2_PRGR
[src]
Bits 8:11 - Programmable portion of the base address of region 2.
pub fn lock_reg0(&self) -> LOCK_REG0R
[src]
Bits 16:17 - Lock PRINCE region0 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
pub fn lock_reg1(&self) -> LOCK_REG1R
[src]
Bits 18:19 - Lock PRINCE region1 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
pub fn lock_reg2(&self) -> LOCK_REG2R
[src]
Bits 20:21 - Lock PRINCE region2 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.
pub fn reg0_erase_check_en(&self) -> REG0_ERASE_CHECK_ENR
[src]
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.
pub fn reg1_erase_check_en(&self) -> REG1_ERASE_CHECK_ENR
[src]
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.
pub fn reg2_erase_check_en(&self) -> REG2_ERASE_CHECK_ENR
[src]
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.
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self