[][src]Type Definition lpc55s6x_pac::flash_cmpa::prince_base_addr::R

type R = R<u32, PRINCE_BASE_ADDR>;

Reader of register PRINCE_BASE_ADDR

Methods

impl R[src]

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

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

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

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

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

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

pub fn lock_reg0(&self) -> LOCK_REG0_R[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_REG1_R[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_REG2_R[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_EN_R[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_EN_R[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_EN_R[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.