[][src]Struct lpc55s6x_pac::flash_cmpa::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub boot_cfg: BOOT_CFG,
    pub spi_flash_cfg: SPI_FLASH_CFG,
    pub usb_id: USB_ID,
    pub sdio_cfg: SDIO_CFG,
    pub dcfg_cc_socu_pin: DCFG_CC_SOCU_PIN,
    pub dcfg_cc_socu_dflt: DCFG_CC_SOCU_DFLT,
    pub dap_vendor_usage_fixed: DAP_VENDOR_USAGE_FIXED,
    pub secure_boot_cfg: SECURE_BOOT_CFG,
    pub prince_base_addr: PRINCE_BASE_ADDR,
    pub prince_sr_0: PRINCE_SR_0,
    pub prince_sr_1: PRINCE_SR_1,
    pub prince_sr_2: PRINCE_SR_2,
    pub rotkh: [ROTKH; 8],
    pub customer_defined: [CUSTOMER_DEFINED; 56],
    pub sha256_digest: [SHA256_DIGEST; 8],
    // some fields omitted
}

Register block

Fields

boot_cfg: BOOT_CFG

0x00 - .

spi_flash_cfg: SPI_FLASH_CFG

0x04 - .

usb_id: USB_ID

0x08 - .

sdio_cfg: SDIO_CFG

0x0c - .

dcfg_cc_socu_pin: DCFG_CC_SOCU_PIN

0x10 - .

dcfg_cc_socu_dflt: DCFG_CC_SOCU_DFLT

0x14 - .

dap_vendor_usage_fixed: DAP_VENDOR_USAGE_FIXED

0x18 - .

secure_boot_cfg: SECURE_BOOT_CFG

0x1c - .

prince_base_addr: PRINCE_BASE_ADDR

0x20 - .

prince_sr_0: PRINCE_SR_0

0x24 - Region 0, sub-region enable

prince_sr_1: PRINCE_SR_1

0x28 - Region 1, sub-region enable

prince_sr_2: PRINCE_SR_2

0x2c - Region 2, sub-region enable

rotkh: [ROTKH; 8]

0x50 - ROTKH0 for Root of Trust Keys Table hash[255:224] ROTKH1 for Root of Trust Keys Table hash[223:192] ROTKH2 for Root of Trust Keys Table hash[191:160] ROTKH3 for Root of Trust Keys Table hash[159:128] ROTKH4 for Root of Trust Keys Table hash[127:96] ROTKH5 for Root of Trust Keys Table hash[95:64] ROTKH6 for Root of Trust Keys Table hash[63:32] ROTKH7 for Root of Trust Keys Table hash[31:0]

customer_defined: [CUSTOMER_DEFINED; 56]

0x100 - Customer Defined (Programable through ROM API)

sha256_digest: [SHA256_DIGEST; 8]

0x1e0 - SHA256_DIGEST0 for DIGEST[31:0] SHA256_DIGEST1 for DIGEST[63:32] SHA256_DIGEST2 for DIGEST[95:64] SHA256_DIGEST3 for DIGEST[127:96] SHA256_DIGEST4 for DIGEST[159:128] SHA256_DIGEST5 for DIGEST[191:160] SHA256_DIGEST6 for DIGEST[223:192] SHA256_DIGEST7 for DIGEST[255:224]

Auto Trait Implementations

Blanket Implementations

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> From<T> for 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

type Output = T

Should always be Self