#[repr(C)]
pub struct RegisterBlock {
Show 21 fields pub setup0: Reg<SETUP0_SPEC>, pub pulse0: Reg<PULSE0_SPEC>, pub cycle0: Reg<CYCLE0_SPEC>, pub mode0: Reg<MODE0_SPEC>, pub setup1: Reg<SETUP1_SPEC>, pub pulse1: Reg<PULSE1_SPEC>, pub cycle1: Reg<CYCLE1_SPEC>, pub mode1: Reg<MODE1_SPEC>, pub setup2: Reg<SETUP2_SPEC>, pub pulse2: Reg<PULSE2_SPEC>, pub cycle2: Reg<CYCLE2_SPEC>, pub mode2: Reg<MODE2_SPEC>, pub setup3: Reg<SETUP3_SPEC>, pub pulse3: Reg<PULSE3_SPEC>, pub cycle3: Reg<CYCLE3_SPEC>, pub mode3: Reg<MODE3_SPEC>, pub ocms: Reg<OCMS_SPEC>, pub key1: Reg<KEY1_SPEC>, pub key2: Reg<KEY2_SPEC>, pub wpmr: Reg<WPMR_SPEC>, pub wpsr: Reg<WPSR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

setup0: Reg<SETUP0_SPEC>

0x00 - SMC Setup Register (CS_number = 0)

pulse0: Reg<PULSE0_SPEC>

0x04 - SMC Pulse Register (CS_number = 0)

cycle0: Reg<CYCLE0_SPEC>

0x08 - SMC Cycle Register (CS_number = 0)

mode0: Reg<MODE0_SPEC>

0x0c - SMC Mode Register (CS_number = 0)

setup1: Reg<SETUP1_SPEC>

0x10 - SMC Setup Register (CS_number = 1)

pulse1: Reg<PULSE1_SPEC>

0x14 - SMC Pulse Register (CS_number = 1)

cycle1: Reg<CYCLE1_SPEC>

0x18 - SMC Cycle Register (CS_number = 1)

mode1: Reg<MODE1_SPEC>

0x1c - SMC Mode Register (CS_number = 1)

setup2: Reg<SETUP2_SPEC>

0x20 - SMC Setup Register (CS_number = 2)

pulse2: Reg<PULSE2_SPEC>

0x24 - SMC Pulse Register (CS_number = 2)

cycle2: Reg<CYCLE2_SPEC>

0x28 - SMC Cycle Register (CS_number = 2)

mode2: Reg<MODE2_SPEC>

0x2c - SMC Mode Register (CS_number = 2)

setup3: Reg<SETUP3_SPEC>

0x30 - SMC Setup Register (CS_number = 3)

pulse3: Reg<PULSE3_SPEC>

0x34 - SMC Pulse Register (CS_number = 3)

cycle3: Reg<CYCLE3_SPEC>

0x38 - SMC Cycle Register (CS_number = 3)

mode3: Reg<MODE3_SPEC>

0x3c - SMC Mode Register (CS_number = 3)

ocms: Reg<OCMS_SPEC>

0x80 - SMC OCMS MODE Register

key1: Reg<KEY1_SPEC>

0x84 - SMC OCMS KEY1 Register

key2: Reg<KEY2_SPEC>

0x88 - SMC OCMS KEY2 Register

wpmr: Reg<WPMR_SPEC>

0xe4 - SMC Write Protect Mode Register

wpsr: Reg<WPSR_SPEC>

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