#[repr(C)]
pub struct RegisterBlock {
Show 23 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 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 pucrd: Reg<PUCRD_SPEC>, pub pdcrd: Reg<PDCRD_SPEC>, pub pucre: Reg<PUCRE_SPEC>, pub pdcre: Reg<PDCRE_SPEC>, pub pucrf: Reg<PUCRF_SPEC>, pub pdcrf: Reg<PDCRF_SPEC>, pub pucrg: Reg<PUCRG_SPEC>, pub pdcrg: Reg<PDCRG_SPEC>, pub pucrh: Reg<PUCRH_SPEC>, pub pdcrh: Reg<PDCRH_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

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

pucrd: Reg<PUCRD_SPEC>

0x38 - Power Port D pull-up control register

pdcrd: Reg<PDCRD_SPEC>

0x3c - Power Port D pull-down control register

pucre: Reg<PUCRE_SPEC>

0x40 - Power Port E pull-up control register

pdcre: Reg<PDCRE_SPEC>

0x44 - Power Port E pull-down control register

pucrf: Reg<PUCRF_SPEC>

0x48 - Power Port F pull-up control register

pdcrf: Reg<PDCRF_SPEC>

0x4c - Power Port F pull-down control register

pucrg: Reg<PUCRG_SPEC>

0x50 - Power Port G pull-up control register

pdcrg: Reg<PDCRG_SPEC>

0x54 - Power Port G 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

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.