[][src]Struct alt_stm32f30x_hal::timer::tim4::Channel

pub struct Channel<CN: ChNum, M: ChMode> { /* fields omitted */ }

Timer channel

Methods

impl<M: ChMode, CN: ChNum> Channel<CN, M>[src]

pub fn mode<NM: ChMode>(self, nm: NM) -> Channel<CN, NM>[src]

Change channel output mode

pub fn preload(&mut self, value: bool)[src]

Set preload

Trait Implementations

impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH1, CM>, AF2> for PB6<PT, PM>[src]

type OutputPin = PB6<PT, AltFn<AF2, PushPull, SP>>

type

type Output = PwmBinding<Self::OutputPin, Channel<CH1, Pwm1>>

binding

impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH2, CM>, AF2> for PB7<PT, PM>[src]

type OutputPin = PB7<PT, AltFn<AF2, PushPull, SP>>

type

type Output = PwmBinding<Self::OutputPin, Channel<CH2, Pwm1>>

binding

impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH3, CM>, AF2> for PB8<PT, PM>[src]

type OutputPin = PB8<PT, AltFn<AF2, PushPull, SP>>

type

type Output = PwmBinding<Self::OutputPin, Channel<CH3, Pwm1>>

binding

impl<SP: OutputSpeed, PT: PullType, PM: PinMode, CM: ChMode> PwmExt<SP, Channel<CH4, CM>, AF2> for PB9<PT, PM>[src]

type OutputPin = PB9<PT, AltFn<AF2, PushPull, SP>>

type

type Output = PwmBinding<Self::OutputPin, Channel<CH4, Pwm1>>

binding

impl<CN: ChNum, M: ChMode> TimerChannel for Channel<CN, M>[src]

Auto Trait Implementations

impl<CN, M> Unpin for Channel<CN, M> where
    CN: Unpin,
    M: Unpin

impl<CN, M> Send for Channel<CN, M> where
    CN: Send,
    M: Send

impl<CN, M> Sync for Channel<CN, M> where
    CN: Sync,
    M: Sync

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self