[][src]Struct lpc55s6x_pac::flash_cmpa::prince_base_addr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn addr0_prg(&mut self) -> _ADDR0_PRGW[src]

Bits 0:3 - Programmable portion of the base address of region 0.

pub fn addr1_prg(&mut self) -> _ADDR1_PRGW[src]

Bits 4:7 - Programmable portion of the base address of region 1.

pub fn addr2_prg(&mut self) -> _ADDR2_PRGW[src]

Bits 8:11 - Programmable portion of the base address of region 2.

pub fn lock_reg0(&mut self) -> _LOCK_REG0W[src]

Bits 16:17 - Lock PRINCE region0 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.

pub fn lock_reg1(&mut self) -> _LOCK_REG1W[src]

Bits 18:19 - Lock PRINCE region1 settings. 00 - Region is not locked. 01, 10, 11 - Region is locked.

pub fn lock_reg2(&mut self) -> _LOCK_REG2W[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(&mut self) -> _REG0_ERASE_CHECK_ENW[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(&mut self) -> _REG1_ERASE_CHECK_ENW[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(&mut self) -> _REG2_ERASE_CHECK_ENW[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

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self