[−][src]Struct imxrt1062_hal::pwm::PWM
A PWM output instance. It has a module, submodule, and output type.
Implements the embedded_hal::PwmPin
interface.
Trait Implementations
impl<M, S> PwmPin for PWM<M, S, A> where
M: Module,
S: Submodule,
[src]
M: Module,
S: Submodule,
type Duty = u16
Type for the duty
methods Read more
fn disable(&mut self)
[src]
fn enable(&mut self)
[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<M, S> PwmPin for PWM<M, S, B> where
M: Module,
S: Submodule,
[src]
M: Module,
S: Submodule,
Auto Trait Implementations
impl<M, S, O> !Send for PWM<M, S, O>
impl<M, S, O> !Sync for PWM<M, S, O>
impl<M, S, O> Unpin for PWM<M, S, O> where
M: Unpin,
O: Unpin,
S: Unpin,
M: Unpin,
O: Unpin,
S: 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>,