[][src]Struct alt_stm32f30x_hal::timer::tim3::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 PA6<PT, PM>[src]

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

type

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

binding

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

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

type

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

binding

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

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

type

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

binding

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

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

type

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

binding

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

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

type

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

binding

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

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

type

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

binding

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

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

type

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

binding

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

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

type

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

binding

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

Auto Trait Implementations

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> From for T[src]

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

type Error = !

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

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

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

The type returned in the event of a conversion error.

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

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

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

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