#[repr(C)]
pub struct RegisterBlock { pub smc_cs_number: [SMC_CS_NUMBER; 4], pub smc_ocms: Reg<SMC_OCMS_SPEC>, pub smc_key1: Reg<SMC_KEY1_SPEC>, pub smc_key2: Reg<SMC_KEY2_SPEC>, pub smc_wpmr: Reg<SMC_WPMR_SPEC>, pub smc_wpsr: Reg<SMC_WPSR_SPEC>, pub smc_version: Reg<SMC_VERSION_SPEC>, /* private fields */ }
Expand description

Register block

Fields

smc_cs_number: [SMC_CS_NUMBER; 4]

0x00..0x40 - SMC Setup Register (CS_number = 0)

smc_ocms: Reg<SMC_OCMS_SPEC>

0x80 - SMC Off-Chip Memory Scrambling Register

smc_key1: Reg<SMC_KEY1_SPEC>

0x84 - SMC Off-Chip Memory Scrambling KEY1 Register

smc_key2: Reg<SMC_KEY2_SPEC>

0x88 - SMC Off-Chip Memory Scrambling KEY2 Register

smc_wpmr: Reg<SMC_WPMR_SPEC>

0xe4 - SMC Write Protection Mode Register

smc_wpsr: Reg<SMC_WPSR_SPEC>

0xe8 - SMC Write Protection Status Register

smc_version: Reg<SMC_VERSION_SPEC>

0xfc - SMC Version Register

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.