#[repr(C)]
pub struct RegisterBlock { pub supc_cr: Reg<SUPC_CR_SPEC>, pub supc_smmr: Reg<SUPC_SMMR_SPEC>, pub supc_mr: Reg<SUPC_MR_SPEC>, pub supc_wumr: Reg<SUPC_WUMR_SPEC>, pub supc_wuir: Reg<SUPC_WUIR_SPEC>, pub supc_sr: Reg<SUPC_SR_SPEC>, }
Expand description

Register block

Fields

supc_cr: Reg<SUPC_CR_SPEC>

0x00 - Supply Controller Control Register

supc_smmr: Reg<SUPC_SMMR_SPEC>

0x04 - Supply Controller Supply Monitor Mode Register

supc_mr: Reg<SUPC_MR_SPEC>

0x08 - Supply Controller Mode Register

supc_wumr: Reg<SUPC_WUMR_SPEC>

0x0c - Supply Controller Wake-up Mode Register

supc_wuir: Reg<SUPC_WUIR_SPEC>

0x10 - Supply Controller Wake-up Inputs Register

supc_sr: Reg<SUPC_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.