#[repr(C)]
pub struct RegisterBlock {
Show 27 fields pub cfg: CFG, pub tamr: TAMR, pub tbmr: TBMR, pub ctl: CTL, pub sync: SYNC, pub imr: IMR, pub ris: RIS, pub mis: MIS, pub icr: ICR, pub tailr: TAILR, pub tbilr: TBILR, pub tamatchr: TAMATCHR, pub tbmatchr: TBMATCHR, pub tapr: TAPR, pub tbpr: TBPR, pub tapmr: TAPMR, pub tbpmr: TBPMR, pub tar: TAR, pub tbr: TBR, pub tav: TAV, pub tbv: TBV, pub rtcpd: RTCPD, pub taps: TAPS, pub tbps: TBPS, pub tapv: TAPV, pub tbpv: TBPV, pub pp: PP, /* private fields */
}
Expand description

Register block

Fields§

§cfg: CFG

0x00 - GPTM Configuration

§tamr: TAMR

0x04 - GPTM Timer A Mode

§tbmr: TBMR

0x08 - GPTM Timer B Mode

§ctl: CTL

0x0c - GPTM Control

§sync: SYNC

0x10 - GPTM Synchronize

§imr: IMR

0x18 - GPTM Interrupt Mask

§ris: RIS

0x1c - GPTM Raw Interrupt Status

§mis: MIS

0x20 - GPTM Masked Interrupt Status

§icr: ICR

0x24 - GPTM Interrupt Clear

§tailr: TAILR

0x28 - GPTM Timer A Interval Load

§tbilr: TBILR

0x2c - GPTM Timer B Interval Load

§tamatchr: TAMATCHR

0x30 - GPTM Timer A Match

§tbmatchr: TBMATCHR

0x34 - GPTM Timer B Match

§tapr: TAPR

0x38 - GPTM Timer A Prescale

§tbpr: TBPR

0x3c - GPTM Timer B Prescale

§tapmr: TAPMR

0x40 - GPTM TimerA Prescale Match

§tbpmr: TBPMR

0x44 - GPTM TimerB Prescale Match

§tar: TAR

0x48 - GPTM Timer A

§tbr: TBR

0x4c - GPTM Timer B

§tav: TAV

0x50 - GPTM Timer A Value

§tbv: TBV

0x54 - GPTM Timer B Value

§rtcpd: RTCPD

0x58 - GPTM RTC Predivide

§taps: TAPS

0x5c - GPTM Timer A Prescale Snapshot

§tbps: TBPS

0x60 - GPTM Timer B Prescale Snapshot

§tapv: TAPV

0x64 - GPTM Timer A Prescale Value

§tbpv: TBPV

0x68 - GPTM Timer B Prescale Value

§pp: PP

0xfc0 - GPTM Peripheral Properties

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.