Struct atsamv71q20::smc::RegisterBlock
source · [−]#[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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more