Struct gd32f1::gd32f130::timer5::RegisterBlock[][src]

#[repr(C)]pub struct RegisterBlock {
    pub ctl0: CTL0,
    pub ctl1: CTL1,
    pub dmainten: DMAINTEN,
    pub intf: INTF,
    pub swevg: SWEVG,
    pub cnt: CNT,
    pub psc: PSC,
    pub car: CAR,
    // some fields omitted
}

Register block

Fields

ctl0: CTL0

0x00 - control register 0

ctl1: CTL1

0x04 - control register 1

dmainten: DMAINTEN

0x0c - DMA/Interrupt enable register

intf: INTF

0x10 - status register

swevg: SWEVG

0x14 - Software event generation register

cnt: CNT

0x24 - Counter register

psc: PSC

0x28 - Prescaler register

car: CAR

0x2c - Counter auto reload register

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, 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.