#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub t0config: T0CONFIG, pub t0lo: T0LO, pub t0hi: T0HI, pub t0update: T0UPDATE, pub t0alarmlo: T0ALARMLO, pub t0alarmhi: T0ALARMHI, pub t0loadlo: T0LOADLO, pub t0loadhi: T0LOADHI, pub t0load: T0LOAD, pub wdtconfig0: WDTCONFIG0, pub wdtconfig1: WDTCONFIG1, pub wdtconfig2: WDTCONFIG2, pub wdtconfig3: WDTCONFIG3, pub wdtconfig4: WDTCONFIG4, pub wdtconfig5: WDTCONFIG5, pub wdtfeed: WDTFEED, pub wdtwprotect: WDTWPROTECT, pub rtccalicfg: RTCCALICFG, pub rtccalicfg1: RTCCALICFG1, pub int_ena_timers: INT_ENA_TIMERS, pub int_raw_timers: INT_RAW_TIMERS, pub int_st_timers: INT_ST_TIMERS, pub int_clr_timers: INT_CLR_TIMERS, pub rtccalicfg2: RTCCALICFG2, pub ntimg_date: NTIMG_DATE, pub regclk: REGCLK, /* private fields */
}
Expand description

Register block

Fields§

§t0config: T0CONFIG

0x00 - TIMG_T0CONFIG_REG.

§t0lo: T0LO

0x04 - TIMG_T0LO_REG.

§t0hi: T0HI

0x08 - TIMG_T0HI_REG.

§t0update: T0UPDATE

0x0c - TIMG_T0UPDATE_REG.

§t0alarmlo: T0ALARMLO

0x10 - TIMG_T0ALARMLO_REG.

§t0alarmhi: T0ALARMHI

0x14 - TIMG_T0ALARMHI_REG.

§t0loadlo: T0LOADLO

0x18 - TIMG_T0LOADLO_REG.

§t0loadhi: T0LOADHI

0x1c - TIMG_T0LOADHI_REG.

§t0load: T0LOAD

0x20 - TIMG_T0LOAD_REG.

§wdtconfig0: WDTCONFIG0

0x48 - TIMG_WDTCONFIG0_REG.

§wdtconfig1: WDTCONFIG1

0x4c - TIMG_WDTCONFIG1_REG.

§wdtconfig2: WDTCONFIG2

0x50 - TIMG_WDTCONFIG2_REG.

§wdtconfig3: WDTCONFIG3

0x54 - TIMG_WDTCONFIG3_REG.

§wdtconfig4: WDTCONFIG4

0x58 - TIMG_WDTCONFIG4_REG.

§wdtconfig5: WDTCONFIG5

0x5c - TIMG_WDTCONFIG5_REG.

§wdtfeed: WDTFEED

0x60 - TIMG_WDTFEED_REG.

§wdtwprotect: WDTWPROTECT

0x64 - TIMG_WDTWPROTECT_REG.

§rtccalicfg: RTCCALICFG

0x68 - TIMG_RTCCALICFG_REG.

§rtccalicfg1: RTCCALICFG1

0x6c - TIMG_RTCCALICFG1_REG.

§int_ena_timers: INT_ENA_TIMERS

0x70 - INT_ENA_TIMG_REG

§int_raw_timers: INT_RAW_TIMERS

0x74 - INT_RAW_TIMG_REG

§int_st_timers: INT_ST_TIMERS

0x78 - INT_ST_TIMG_REG

§int_clr_timers: INT_CLR_TIMERS

0x7c - INT_CLR_TIMG_REG

§rtccalicfg2: RTCCALICFG2

0x80 - TIMG_RTCCALICFG2_REG.

§ntimg_date: NTIMG_DATE

0xf8 - TIMG_NTIMG_DATE_REG.

§regclk: REGCLK

0xfc - TIMG_REGCLK_REG.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.