RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { pub resetctrl: Reg<RESETCTRL_SPEC>, pub bodvbat: Reg<BODVBAT_SPEC>, pub comp: Reg<COMP_SPEC>, pub wakeiocause: Reg<WAKEIOCAUSE_SPEC>, pub statusclk: Reg<STATUSCLK_SPEC>, pub aoreg1: Reg<AOREG1_SPEC>, pub rtcosc32k: Reg<RTCOSC32K_SPEC>, pub ostimer: Reg<OSTIMER_SPEC>, pub pdruncfg0: Reg<PDRUNCFG0_SPEC>, pub pdruncfgset0: Reg<PDRUNCFGSET0_SPEC>, pub pdruncfgclr0: Reg<PDRUNCFGCLR0_SPEC>, /* private fields */ }
Expand description

Register block

Fields§

§resetctrl: Reg<RESETCTRL_SPEC>

0x08 - Reset Control [Reset by: PoR, Pin Reset, Brown Out Detectors Reset, Deep Power Down Reset, Software Reset]

§bodvbat: Reg<BODVBAT_SPEC>

0x30 - VBAT Brown Out Dectector (BoD) control register [Reset by: PoR, Pin Reset, Software Reset]

§comp: Reg<COMP_SPEC>

0x50 - Analog Comparator control register [Reset by: PoR, Pin Reset, Brown Out Detectors Reset, Deep Power Down Reset, Software Reset]

§wakeiocause: Reg<WAKEIOCAUSE_SPEC>

0x68 - Allows to identify the Wake-up I/O source from Deep Power Down mode

§statusclk: Reg<STATUSCLK_SPEC>

0x74 - FRO and XTAL status register [Reset by: PoR, Brown Out Detectors Reset]

§aoreg1: Reg<AOREG1_SPEC>

0x84 - General purpose always on domain data storage [Reset by: PoR, Brown Out Detectors Reset]

§rtcosc32k: Reg<RTCOSC32K_SPEC>

0x98 - RTC 1 KHZ and 1 Hz clocks source control register [Reset by: PoR, Brown Out Detectors Reset]

§ostimer: Reg<OSTIMER_SPEC>

0x9c - OS Timer control register [Reset by: PoR, Brown Out Detectors Reset]

§pdruncfg0: Reg<PDRUNCFG0_SPEC>

0xb8 - Controls the power to various analog blocks [Reset by: PoR, Pin Reset, Brown Out Detectors Reset, Deep Power Down Reset, Software Reset]

§pdruncfgset0: Reg<PDRUNCFGSET0_SPEC>

0xc0 - Controls the power to various analog blocks [Reset by: PoR, Pin Reset, Brown Out Detectors Reset, Deep Power Down Reset, Software Reset]

§pdruncfgclr0: Reg<PDRUNCFGCLR0_SPEC>

0xc8 - Controls the power to various analog blocks [Reset by: PoR, Pin Reset, Brown Out Detectors Reset, Deep Power Down Reset, Software Reset]

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.