[−][src]Struct imxrt_hal::pwm::Pins
A pair of submodule PWM pins
When taken in a Controller
, you may configure the PWM outputs
Implementations
impl<A, B> Pins<A, B> where
A: Pin<Output = A>,
B: Pin<Output = B, Module = <A as Pin>::Module, Submodule = <A as Pin>::Submodule>,
[src]
A: Pin<Output = A>,
B: Pin<Output = B, Module = <A as Pin>::Module, Submodule = <A as Pin>::Submodule>,
pub fn control<'a, D>(
&'a mut self,
handle: D
) -> Controller<'_, A, B, D, <A as Pin>::Submodule> where
D: 'a + DerefMut<Target = Handle<<A as Pin>::Module>>,
[src]
&'a mut self,
handle: D
) -> Controller<'_, A, B, D, <A as Pin>::Submodule> where
D: 'a + DerefMut<Target = Handle<<A as Pin>::Module>>,
Provides control of PWM pins
Supply a type that provides mutable access to the PWM handle. The handle is required to modify peripheral-wide registers for safe manipulation.
Auto Trait Implementations
impl<A, B> Send for Pins<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for Pins<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for Pins<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: 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>,