#[repr(C)]
pub struct RegisterBlock {
Show 18 fields pub cr1: Reg<CR1_SPEC>, pub cr2: Reg<CR2_SPEC>, pub cr3: Reg<CR3_SPEC>, pub cr4: Reg<CR4_SPEC>, pub sr1: Reg<SR1_SPEC>, pub sr2: Reg<SR2_SPEC>, pub scr: Reg<SCR_SPEC>, pub cr5: Reg<CR5_SPEC>, pub pucra: Reg<PUCRA_SPEC>, pub pdcra: Reg<PDCRA_SPEC>, pub pucrb: Reg<PUCRB_SPEC>, pub pdcrb: Reg<PDCRB_SPEC>, pub pucrc: Reg<PUCRC_SPEC>, pub pdcrc: Reg<PDCRC_SPEC>, pub pucrh: Reg<PUCRH_SPEC>, pub pdcrh: Reg<PDCRH_SPEC>, pub extscr: Reg<EXTSCR_SPEC>, pub subghzspicr: Reg<SUBGHZSPICR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

cr1: Reg<CR1_SPEC>

0x00 - Power control register 1

cr2: Reg<CR2_SPEC>

0x04 - Power control register 2

cr3: Reg<CR3_SPEC>

0x08 - Power control register 3

cr4: Reg<CR4_SPEC>

0x0c - Power control register 4

sr1: Reg<SR1_SPEC>

0x10 - Power status register 1

sr2: Reg<SR2_SPEC>

0x14 - Power status register 2

scr: Reg<SCR_SPEC>

0x18 - Power status clear register

cr5: Reg<CR5_SPEC>

0x1c - Power control register 5

pucra: Reg<PUCRA_SPEC>

0x20 - Power Port A pull-up control register

pdcra: Reg<PDCRA_SPEC>

0x24 - Power Port A pull-down control register

pucrb: Reg<PUCRB_SPEC>

0x28 - Power Port B pull-up control register

pdcrb: Reg<PDCRB_SPEC>

0x2c - Power Port B pull-down control register

pucrc: Reg<PUCRC_SPEC>

0x30 - Power Port C pull-up control register

pdcrc: Reg<PDCRC_SPEC>

0x34 - Power Port C pull-down control register

pucrh: Reg<PUCRH_SPEC>

0x58 - Power Port H pull-up control register

pdcrh: Reg<PDCRH_SPEC>

0x5c - Power Port H pull-down control register

extscr: Reg<EXTSCR_SPEC>

0x88 - Power extended status and status clear register

subghzspicr: Reg<SUBGHZSPICR_SPEC>

0x90 - Power SPI3 control 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.