pub struct TaskChannel<const C: u8> {}Expand description
An ETM controlled GPIO task
Implementations§
Source§impl<const C: u8> TaskChannel<C>
impl<const C: u8> TaskChannel<C>
Sourcepub fn set<'d>(
self,
pin: impl Into<OutputSignal<'d>>,
pin_config: OutputConfig,
) -> Task<'d>
pub fn set<'d>( self, pin: impl Into<OutputSignal<'d>>, pin_config: OutputConfig, ) -> Task<'d>
Task to set a high level
Sourcepub fn clear<'d>(
self,
pin: impl Into<OutputSignal<'d>>,
pin_config: OutputConfig,
) -> Task<'d>
pub fn clear<'d>( self, pin: impl Into<OutputSignal<'d>>, pin_config: OutputConfig, ) -> Task<'d>
Task to set a low level
Sourcepub fn toggle<'d>(
self,
pin: impl Into<OutputSignal<'d>>,
pin_config: OutputConfig,
) -> Task<'d>
pub fn toggle<'d>( self, pin: impl Into<OutputSignal<'d>>, pin_config: OutputConfig, ) -> Task<'d>
Task to toggle the level
Auto Trait Implementations§
impl<const C: u8> Freeze for TaskChannel<C>
impl<const C: u8> RefUnwindSafe for TaskChannel<C>
impl<const C: u8> Send for TaskChannel<C>
impl<const C: u8> Sync for TaskChannel<C>
impl<const C: u8> Unpin for TaskChannel<C>
impl<const C: u8> UnwindSafe for TaskChannel<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