[][src]Struct stm32f0xx_hal::pac::tim6::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub cr1: Reg<u32, _CR1>,
    pub cr2: Reg<u32, _CR2>,
    pub dier: Reg<u32, _DIER>,
    pub sr: Reg<u32, _SR>,
    pub egr: Reg<u32, _EGR>,
    pub cnt: Reg<u32, _CNT>,
    pub psc: Reg<u32, _PSC>,
    pub arr: Reg<u32, _ARR>,
    // some fields omitted
}

Register block

Fields

cr1: Reg<u32, _CR1>

0x00 - control register 1

cr2: Reg<u32, _CR2>

0x04 - control register 2

dier: Reg<u32, _DIER>

0x0c - DMA/Interrupt enable register

sr: Reg<u32, _SR>

0x10 - status register

egr: Reg<u32, _EGR>

0x14 - event generation register

cnt: Reg<u32, _CNT>

0x24 - counter

psc: Reg<u32, _PSC>

0x28 - prescaler

arr: Reg<u32, _ARR>

0x2c - 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> 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.