Struct esp32c6_hal::gpio::etm::GpioEtmEventChannel
source · pub struct GpioEtmEventChannel<const C: u8> {}
Expand description
An ETM controlled GPIO event
Implementations§
source§impl<const C: u8> GpioEtmEventChannel<C>
impl<const C: u8> GpioEtmEventChannel<C>
sourcepub fn rising_edge<'d, PIN>(
self,
pin: impl Peripheral<P = PIN> + 'd
) -> GpioEtmEventChannelRising<'d, PIN, C>where
PIN: Pin,
pub fn rising_edge<'d, PIN>(
self,
pin: impl Peripheral<P = PIN> + 'd
) -> GpioEtmEventChannelRising<'d, PIN, C>where
PIN: Pin,
Trigger at rising edge
sourcepub fn falling_edge<'d, PIN>(
self,
pin: impl Peripheral<P = PIN> + 'd
) -> GpioEtmEventChannelFalling<'d, PIN, C>where
PIN: Pin,
pub fn falling_edge<'d, PIN>(
self,
pin: impl Peripheral<P = PIN> + 'd
) -> GpioEtmEventChannelFalling<'d, PIN, C>where
PIN: Pin,
Trigger at falling edge
sourcepub fn any_edge<'d, PIN>(
self,
pin: impl Peripheral<P = PIN> + 'd
) -> GpioEtmEventChannelAny<'d, PIN, C>where
PIN: Pin,
pub fn any_edge<'d, PIN>(
self,
pin: impl Peripheral<P = PIN> + 'd
) -> GpioEtmEventChannelAny<'d, PIN, C>where
PIN: Pin,
Trigger at any edge
Auto Trait Implementations§
impl<const C: u8> RefUnwindSafe for GpioEtmEventChannel<C>
impl<const C: u8> Send for GpioEtmEventChannel<C>
impl<const C: u8> Sync for GpioEtmEventChannel<C>
impl<const C: u8> Unpin for GpioEtmEventChannel<C>
impl<const C: u8> UnwindSafe for GpioEtmEventChannel<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