#[repr(C)]
pub struct RegisterBlock { pub smc_cs_number: [SMC_CS_NUMBER; 4], pub ocms: OCMS, pub key1: KEY1, pub key2: KEY2, pub wpmr: WPMR, pub wpsr: WPSR, /* private fields */ }
Expand description

Register block

Fields

smc_cs_number: [SMC_CS_NUMBER; 4]

0x00..0x40 - SMC Setup Register

ocms: OCMS

0x80 - SMC Off-Chip Memory Scrambling Register

key1: KEY1

0x84 - SMC Off-Chip Memory Scrambling KEY1 Register

key2: KEY2

0x88 - SMC Off-Chip Memory Scrambling KEY2 Register

wpmr: WPMR

0xe4 - SMC Write Protection Mode Register

wpsr: WPSR

0xe8 - SMC Write Protection Status 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.