pub struct EventChannel<const C: u8> {}Expand description
An ETM controlled GPIO event
Implementations§
Source§impl<const C: u8> EventChannel<C>
impl<const C: u8> EventChannel<C>
Sourcepub fn rising_edge<'d>(
self,
pin: impl Into<InputSignal<'d>>,
pin_config: InputConfig,
) -> Event<'d>
pub fn rising_edge<'d>( self, pin: impl Into<InputSignal<'d>>, pin_config: InputConfig, ) -> Event<'d>
Trigger at rising edge
Sourcepub fn falling_edge<'d>(
self,
pin: impl Into<InputSignal<'d>>,
pin_config: InputConfig,
) -> Event<'d>
pub fn falling_edge<'d>( self, pin: impl Into<InputSignal<'d>>, pin_config: InputConfig, ) -> Event<'d>
Trigger at falling edge
Sourcepub fn any_edge<'d>(
self,
pin: impl Into<InputSignal<'d>>,
pin_config: InputConfig,
) -> Event<'d>
pub fn any_edge<'d>( self, pin: impl Into<InputSignal<'d>>, pin_config: InputConfig, ) -> Event<'d>
Trigger at any edge
Auto Trait Implementations§
impl<const C: u8> Freeze for EventChannel<C>
impl<const C: u8> RefUnwindSafe for EventChannel<C>
impl<const C: u8> Send for EventChannel<C>
impl<const C: u8> Sync for EventChannel<C>
impl<const C: u8> Unpin for EventChannel<C>
impl<const C: u8> UnwindSafe for EventChannel<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