[−][src]Struct stm32f103xx_hal::pwm2::PwmTimer  
Trait Implementations
impl<TIM, BUS, REGISTERBLOCK, MAPPING> Pwm for PwmTimer<TIM, BUS, REGISTERBLOCK, MAPPING> where
    TIM: PwmTrait<TIM, BUS, REGISTERBLOCK, MAPPING>,
    MAPPING: TimChannelsMapping<TIM>,
    REGISTERBLOCK: TimRegisterType, [src]
TIM: PwmTrait<TIM, BUS, REGISTERBLOCK, MAPPING>,
MAPPING: TimChannelsMapping<TIM>,
REGISTERBLOCK: TimRegisterType,
type Channel = Channel
Enumeration of channels that can be used with this Pwm interface Read more
type Time = Hertz
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u16
Type for the duty methods Read more
fn disable(&mut self, channel: Self::Channel)[src]
fn enable(&mut self, channel: Self::Channel)[src]
fn get_period(&self) -> Self::Time[src]
fn get_duty(&self, channel: Self::Channel) -> Self::Duty[src]
fn get_max_duty(&self) -> Self::Duty[src]
fn set_duty(&mut self, channel: Self::Channel, duty: Self::Duty)[src]
fn set_period<P>(&mut self, period: P) where
    P: Into<Self::Time>, [src]
P: Into<Self::Time>,
Auto Trait Implementations
impl<TIM, BUS, REGISTERBLOCK, MAPPING> Send for PwmTimer<TIM, BUS, REGISTERBLOCK, MAPPING> where
    BUS: Send,
    MAPPING: Send,
    REGISTERBLOCK: Send,
    TIM: Send, 
BUS: Send,
MAPPING: Send,
REGISTERBLOCK: Send,
TIM: Send,
impl<TIM, BUS, REGISTERBLOCK, MAPPING> Sync for PwmTimer<TIM, BUS, REGISTERBLOCK, MAPPING> where
    BUS: Sync,
    MAPPING: Sync,
    REGISTERBLOCK: Sync,
    TIM: Sync, 
BUS: Sync,
MAPPING: Sync,
REGISTERBLOCK: Sync,
TIM: Sync,
Blanket Implementations
impl<T> From for T[src]
impl<T, U> TryFrom for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> Into for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Borrow for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,