[][src]Struct stm32l4x6::tim2::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub cr1: CR1, pub cr2: CR2, pub smcr: SMCR, pub dier: DIER, pub sr: SR, pub egr: EGR, pub ccmr1_output: CCMR1_OUTPUT, pub ccmr2_output: CCMR2_OUTPUT, pub ccer: CCER, pub cnt: CNT, pub psc: PSC, pub arr: ARR, pub ccr1: CCR1, pub ccr2: CCR2, pub ccr3: CCR3, pub ccr4: CCR4, pub dcr: DCR, pub dmar: DMAR, pub or: OR, // some fields omitted }

Register block

Fields

0x00 - control register 1

0x04 - control register 2

0x08 - slave mode control register

0x0c - DMA/Interrupt enable register

0x10 - status register

0x14 - event generation register

0x18 - capture/compare mode register 1 (output mode)

0x1c - capture/compare mode register 2 (output mode)

0x20 - capture/compare enable register

0x24 - counter

0x28 - prescaler

0x2c - auto-reload register

0x34 - capture/compare register 1

0x38 - capture/compare register 2

0x3c - capture/compare register 3

0x40 - capture/compare register 4

0x48 - DMA control register

0x4c - DMA address for full transfer

0x50 - TIM2 option register

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

Blanket Implementations

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more