[][src]Struct ADuCM302x::tmr0::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub load: LOAD,
    pub curcnt: CURCNT,
    pub ctl: CTL,
    pub clrint: CLRINT,
    pub capture: CAPTURE,
    pub aload: ALOAD,
    pub acurcnt: ACURCNT,
    pub stat: STAT,
    pub pwmctl: PWMCTL,
    pub pwmmatch: PWMMATCH,
    // some fields omitted
}

Register block

Fields

load: LOAD

0x00 - 16-bit Load Value

curcnt: CURCNT

0x04 - 16-bit Timer Value

ctl: CTL

0x08 - Control

clrint: CLRINT

0x0c - Clear Interrupt

capture: CAPTURE

0x10 - Capture

aload: ALOAD

0x14 - 16-bit Load Value, Asynchronous

acurcnt: ACURCNT

0x18 - 16-bit Timer Value, Asynchronous

stat: STAT

0x1c - Status

pwmctl: PWMCTL

0x20 - PWM Control Register

pwmmatch: PWMMATCH

0x24 - PWM Match Value

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.