#[repr(C)]
pub struct RegisterBlock { pub cr: Reg<CR_SPEC>, pub smmr: Reg<SMMR_SPEC>, pub mr: Reg<MR_SPEC>, pub wumr: Reg<WUMR_SPEC>, pub wuir: Reg<WUIR_SPEC>, pub sr: Reg<SR_SPEC>, }
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - Supply Controller Control Register

smmr: Reg<SMMR_SPEC>

0x04 - Supply Controller Supply Monitor Mode Register

mr: Reg<MR_SPEC>

0x08 - Supply Controller Mode Register

wumr: Reg<WUMR_SPEC>

0x0c - Supply Controller Wake-up Mode Register

wuir: Reg<WUIR_SPEC>

0x10 - Supply Controller Wake-up Inputs Register

sr: Reg<SR_SPEC>

0x14 - Supply Controller 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.