[−][src]Struct tm4c123x_hal::pwm::OddPWM
PWM output from the odd half (i.e. timer B) of a timer peripheral
Trait Implementations
impl Pwm for OddPWM<TIMER0>
[src]
One half of a PWM timer
type Channel = ()
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = u32
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u32
Type for the duty
methods Read more
fn enable(&mut self, _: ())
[src]
fn disable(&mut self, _: ())
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P: Into<Self::Time>>(&mut self, period: P)
[src]
fn get_duty(&self, _: ()) -> Self::Duty
[src]
fn get_max_duty(&self) -> Self::Duty
[src]
fn set_duty(&mut self, _: (), duty: Self::Duty)
[src]
impl Pwm for OddPWM<TIMER1>
[src]
One half of a PWM timer
type Channel = ()
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = u32
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u32
Type for the duty
methods Read more
fn enable(&mut self, _: ())
[src]
fn disable(&mut self, _: ())
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P: Into<Self::Time>>(&mut self, period: P)
[src]
fn get_duty(&self, _: ()) -> Self::Duty
[src]
fn get_max_duty(&self) -> Self::Duty
[src]
fn set_duty(&mut self, _: (), duty: Self::Duty)
[src]
impl Pwm for OddPWM<TIMER2>
[src]
One half of a PWM timer
type Channel = ()
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = u32
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u32
Type for the duty
methods Read more
fn enable(&mut self, _: ())
[src]
fn disable(&mut self, _: ())
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P: Into<Self::Time>>(&mut self, period: P)
[src]
fn get_duty(&self, _: ()) -> Self::Duty
[src]
fn get_max_duty(&self) -> Self::Duty
[src]
fn set_duty(&mut self, _: (), duty: Self::Duty)
[src]
impl Pwm for OddPWM<TIMER3>
[src]
One half of a PWM timer
type Channel = ()
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = u32
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u32
Type for the duty
methods Read more
fn enable(&mut self, _: ())
[src]
fn disable(&mut self, _: ())
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P: Into<Self::Time>>(&mut self, period: P)
[src]
fn get_duty(&self, _: ()) -> Self::Duty
[src]
fn get_max_duty(&self) -> Self::Duty
[src]
fn set_duty(&mut self, _: (), duty: Self::Duty)
[src]
impl Pwm for OddPWM<TIMER4>
[src]
One half of a PWM timer
type Channel = ()
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = u32
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u32
Type for the duty
methods Read more
fn enable(&mut self, _: ())
[src]
fn disable(&mut self, _: ())
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P: Into<Self::Time>>(&mut self, period: P)
[src]
fn get_duty(&self, _: ()) -> Self::Duty
[src]
fn get_max_duty(&self) -> Self::Duty
[src]
fn set_duty(&mut self, _: (), duty: Self::Duty)
[src]
impl Pwm for OddPWM<TIMER5>
[src]
One half of a PWM timer
type Channel = ()
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = u32
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u32
Type for the duty
methods Read more
fn enable(&mut self, _: ())
[src]
fn disable(&mut self, _: ())
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P: Into<Self::Time>>(&mut self, period: P)
[src]
fn get_duty(&self, _: ()) -> Self::Duty
[src]
fn get_max_duty(&self) -> Self::Duty
[src]
fn set_duty(&mut self, _: (), duty: Self::Duty)
[src]
Auto Trait Implementations
impl<T> Send for OddPWM<T> where
T: Send,
T: Send,
impl<T> Sync for OddPWM<T> where
T: Sync,
T: Sync,
impl<T> Unpin for OddPWM<T> where
T: Unpin,
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> 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<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,