pub struct Pin<P> {
pub speed: Speed,
pub pin: P,
}Expand description
Wrapper a pin that can be used as output to one of the HRTIM timer instances
Fields§
§speed: SpeedThe speed setting of the pin
pin: PThe pin
Auto Trait Implementations§
impl<P> Freeze for Pin<P>where
P: Freeze,
impl<P> RefUnwindSafe for Pin<P>where
P: RefUnwindSafe,
impl<P> Send for Pin<P>where
P: Send,
impl<P> Sync for Pin<P>where
P: Sync,
impl<P> Unpin for Pin<P>where
P: Unpin,
impl<P> UnwindSafe for Pin<P>where
P: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> ToMutAligned for Twhere
T: ?Sized,
impl<T> ToMutAligned for Twhere
T: ?Sized,
Source§fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
fn to_mut_aligned<A>(&mut self) -> &mut Aligned<A, <T as ToMutAligned>::Element>where
A: Alignment,
Create a type-checked aligned value from a value that is aligned.