pub struct TriggerPin<'d, T, C> { /* private fields */ }Expand description
Trigger pin wrapper.
This wraps a pin to make it usable as a timer trigger.
Implementations§
Source§impl<'d, T: GeneralInstance4Channel, C: TriggerSource> TriggerPin<'d, T, C>
 
impl<'d, T: GeneralInstance4Channel, C: TriggerSource> TriggerPin<'d, T, C>
Sourcepub fn new(pin: Peri<'d, impl TimerTriggerPin<T, C>>, pull: Pull) -> Self
 
pub fn new(pin: Peri<'d, impl TimerTriggerPin<T, C>>, pull: Pull) -> Self
“Create a new Ch1 trigger pin instance.
Auto Trait Implementations§
impl<'d, T, C> Freeze for TriggerPin<'d, T, C>
impl<'d, T, C> RefUnwindSafe for TriggerPin<'d, T, C>where
    T: RefUnwindSafe,
    C: RefUnwindSafe,
impl<'d, T, C> Send for TriggerPin<'d, T, C>
impl<'d, T, C> Sync for TriggerPin<'d, T, C>
impl<'d, T, C> Unpin for TriggerPin<'d, T, C>
impl<'d, T, C> !UnwindSafe for TriggerPin<'d, T, C>
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