#[repr(C)]
pub struct RegisterBlock {
Show 45 fields pub t0config: TCONFIG, pub t0lo: TLO, pub t0hi: THI, pub t0update: TUPDATE, pub t0alarmlo: TALARMLO, pub t0alarmhi: TALARMHI, pub t0loadlo: TLOADLO, pub t0loadhi: TLOADHI, pub t0load: TLOAD, pub t1config: TCONFIG, pub t1lo: TLO, pub t1hi: THI, pub t1update: TUPDATE, pub t1alarmlo: TALARMLO, pub t1alarmhi: TALARMHI, pub t1loadlo: TLOADLO, pub t1loadhi: TLOADHI, pub t1load: TLOAD, 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 lactconfig: LACTCONFIG, pub lactrtc: LACTRTC, pub lactlo: LACTLO, pub lacthi: LACTHI, pub lactupdate: LACTUPDATE, pub lactalarmlo: LACTALARMLO, pub lactalarmhi: LACTALARMHI, pub lactloadlo: LACTLOADLO, pub lactloadhi: LACTLOADHI, pub lactload: LACTLOAD, 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 timers_date: TIMERS_DATE, pub regclk: REGCLK, /* private fields */
}
Expand description

Register block

Fields§

§t0config: TCONFIG

0x00 - Timer %s configuration register

§t0lo: TLO

0x04 - Timer %s current value, low 32 bits

§t0hi: THI

0x08 - Timer %s current value, high 32 bits

§t0update: TUPDATE

0x0c - Write to copy current timer value to TIMG_T%sLO_REG or TIMGn_T%sHI_REG

§t0alarmlo: TALARMLO

0x10 - Timer %s alarm value, low 32 bits

§t0alarmhi: TALARMHI

0x14 - Timer %s alarm value, high bits

§t0loadlo: TLOADLO

0x18 - Timer %s reload value, low 32 bits

§t0loadhi: TLOADHI

0x1c - Timer %s reload value, high 32 bits

§t0load: TLOAD

0x20 - Write to reload timer from TIMG_T%sLOADLO_REG or TIMG_T%sLOADHI_REG

§t1config: TCONFIG

0x24 - Timer %s configuration register

§t1lo: TLO

0x28 - Timer %s current value, low 32 bits

§t1hi: THI

0x2c - Timer %s current value, high 32 bits

§t1update: TUPDATE

0x30 - Write to copy current timer value to TIMG_T%sLO_REG or TIMGn_T%sHI_REG

§t1alarmlo: TALARMLO

0x34 - Timer %s alarm value, low 32 bits

§t1alarmhi: TALARMHI

0x38 - Timer %s alarm value, high bits

§t1loadlo: TLOADLO

0x3c - Timer %s reload value, low 32 bits

§t1loadhi: TLOADHI

0x40 - Timer %s reload value, high 32 bits

§t1load: TLOAD

0x44 - Write to reload timer from TIMG_T%sLOADLO_REG or TIMG_T%sLOADHI_REG

§wdtconfig0: WDTCONFIG0

0x48 - Watchdog timer configuration register

§wdtconfig1: WDTCONFIG1

0x4c - Watchdog timer prescaler register

§wdtconfig2: WDTCONFIG2

0x50 - Watchdog timer stage 0 timeout value

§wdtconfig3: WDTCONFIG3

0x54 - Watchdog timer stage 1 timeout value

§wdtconfig4: WDTCONFIG4

0x58 - Watchdog timer stage 2 timeout value

§wdtconfig5: WDTCONFIG5

0x5c - Watchdog timer stage 3 timeout value

§wdtfeed: WDTFEED

0x60 - Write to feed the watchdog timer

§wdtwprotect: WDTWPROTECT

0x64 - Watchdog write protect register

§rtccalicfg: RTCCALICFG

0x68 - RTC calibration configuration register

§rtccalicfg1: RTCCALICFG1

0x6c - RTC calibration configuration register 1

§lactconfig: LACTCONFIG

0x70 - LACT configuration register

§lactrtc: LACTRTC

0x74 - LACT RTC register

§lactlo: LACTLO

0x78 - LACT low register

§lacthi: LACTHI

0x7c - LACT high register

§lactupdate: LACTUPDATE

0x80 - LACT update register

§lactalarmlo: LACTALARMLO

0x84 - LACT alarm low register

§lactalarmhi: LACTALARMHI

0x88 - LACT alarm high register

§lactloadlo: LACTLOADLO

0x8c - LACT load low register

§lactloadhi: LACTLOADHI

0x90 - Timer LACT load high register

§lactload: LACTLOAD

0x94 - Timer LACT load register

§int_ena_timers: INT_ENA_TIMERS

0x98 - Interrupt enable bits

§int_raw_timers: INT_RAW_TIMERS

0x9c - Raw interrupt status

§int_st_timers: INT_ST_TIMERS

0xa0 - Masked interrupt status

§int_clr_timers: INT_CLR_TIMERS

0xa4 - Interrupt clear bits

§rtccalicfg2: RTCCALICFG2

0xa8 - Timer group calibration register

§timers_date: TIMERS_DATE

0xf8 - Version control register

§regclk: REGCLK

0xfc - Timer group clock gate register

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,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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.
const: unstable · 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.
const: unstable · source§

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

Performs the conversion.