[][src]Struct msp430fr2x5x_hal::timer::TimerParts7

pub struct TimerParts7<T: CapCmpTimer7> {
    pub timer: Timer<T>,
    pub tbxiv: TBxIV<T>,
    pub subtimer1: SubTimer<T, CCR1>,
    pub subtimer2: SubTimer<T, CCR2>,
    pub subtimer3: SubTimer<T, CCR3>,
    pub subtimer4: SubTimer<T, CCR4>,
    pub subtimer5: SubTimer<T, CCR5>,
    pub subtimer6: SubTimer<T, CCR6>,
}

Main timer and sub-timers for timer peripherals with 7 capture-compare registers

Fields

timer: Timer<T>

Main timer

tbxiv: TBxIV<T>

Timer interrupt vector

subtimer1: SubTimer<T, CCR1>

Sub-timer 1 (derived from CCR1 register)

subtimer2: SubTimer<T, CCR2>

Sub-timer 2 (derived from CCR2 register)

subtimer3: SubTimer<T, CCR3>

Sub-timer 3 (derived from CCR3 register)

subtimer4: SubTimer<T, CCR4>

Sub-timer 4 (derived from CCR4 register)

subtimer5: SubTimer<T, CCR5>

Sub-timer 5 (derived from CCR5 register)

subtimer6: SubTimer<T, CCR6>

Sub-timer 6 (derived from CCR6 register)

Implementations

impl<T: CapCmpTimer7> TimerParts7<T>[src]

pub fn new(_timer: T, config: TimerConfig<T>) -> Self[src]

Create new set of timers out of a TBx peripheral

Auto Trait Implementations

impl<T> Send for TimerParts7<T> where
    T: Send
[src]

impl<T> Sync for TimerParts7<T> where
    T: Sync
[src]

impl<T> Unpin for TimerParts7<T> where
    T: Unpin
[src]

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.