#[repr(C)]
pub struct RegisterBlock {
Show 17 fields pub boot_cfg: Reg<BOOT_CFG_SPEC>, pub spi_flash_cfg: Reg<SPI_FLASH_CFG_SPEC>, pub usb_id: Reg<USB_ID_SPEC>, pub sdio_cfg: Reg<SDIO_CFG_SPEC>, pub cc_socu_pin: Reg<CC_SOCU_PIN_SPEC>, pub cc_socu_dflt: Reg<CC_SOCU_DFLT_SPEC>, pub vendor_usage: Reg<VENDOR_USAGE_SPEC>, pub secure_boot_cfg: Reg<SECURE_BOOT_CFG_SPEC>, pub prince_base_addr: Reg<PRINCE_BASE_ADDR_SPEC>, pub prince_sr_0: Reg<PRINCE_SR_0_SPEC>, pub prince_sr_1: Reg<PRINCE_SR_1_SPEC>, pub prince_sr_2: Reg<PRINCE_SR_2_SPEC>, pub xtal_32khz_capabank_trim: Reg<XTAL_32KHZ_CAPABANK_TRIM_SPEC>, pub xtal_16mhz_capabank_trim: Reg<XTAL_16MHZ_CAPABANK_TRIM_SPEC>, pub rotkh: [Reg<ROTKH_SPEC>; 8], pub customer_defined: [Reg<CUSTOMER_DEFINED_SPEC>; 56], pub sha256_digest: [Reg<SHA256_DIGEST_SPEC>; 8], /* private fields */
}
Expand description

Register block

Fields

boot_cfg: Reg<BOOT_CFG_SPEC>

0x00 - .

spi_flash_cfg: Reg<SPI_FLASH_CFG_SPEC>

0x04 - .

usb_id: Reg<USB_ID_SPEC>

0x08 - .

sdio_cfg: Reg<SDIO_CFG_SPEC>

0x0c - .

cc_socu_pin: Reg<CC_SOCU_PIN_SPEC>

0x10 - .

cc_socu_dflt: Reg<CC_SOCU_DFLT_SPEC>

0x14 - .

vendor_usage: Reg<VENDOR_USAGE_SPEC>

0x18 - .

secure_boot_cfg: Reg<SECURE_BOOT_CFG_SPEC>

0x1c - .

prince_base_addr: Reg<PRINCE_BASE_ADDR_SPEC>

0x20 - .

prince_sr_0: Reg<PRINCE_SR_0_SPEC>

0x24 - Region 0, sub-region enable

prince_sr_1: Reg<PRINCE_SR_1_SPEC>

0x28 - Region 1, sub-region enable

prince_sr_2: Reg<PRINCE_SR_2_SPEC>

0x2c - Region 2, sub-region enable

xtal_32khz_capabank_trim: Reg<XTAL_32KHZ_CAPABANK_TRIM_SPEC>

0x30 - Xtal 32kHz capabank triming.

xtal_16mhz_capabank_trim: Reg<XTAL_16MHZ_CAPABANK_TRIM_SPEC>

0x34 - Xtal 16MHz capabank triming.

rotkh: [Reg<ROTKH_SPEC>; 8]

0x50..0x70 - 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: [Reg<CUSTOMER_DEFINED_SPEC>; 56]

0x100..0x1e0 - Customer Defined (Programable through ROM API)

sha256_digest: [Reg<SHA256_DIGEST_SPEC>; 8]

0x1e0..0x200 - 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

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.