Enum esp32c6_hal::pulse_control::RepeatMode
source · pub enum RepeatMode {
SingleShot,
RepeatNtimes(u16),
Forever,
}
Expand description
Specifies the mode with which pulses are sent out in transmitter channels
Variants§
SingleShot
Send sequence once
RepeatNtimes(u16)
Send sequence N times (N < (2^10)
)
Forever
Repeat sequence until stopped by additional function call
Trait Implementations§
source§impl Clone for RepeatMode
impl Clone for RepeatMode
source§fn clone(&self) -> RepeatMode
fn clone(&self) -> RepeatMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RepeatMode
impl Debug for RepeatMode
source§impl PartialEq<RepeatMode> for RepeatMode
impl PartialEq<RepeatMode> for RepeatMode
source§fn eq(&self, other: &RepeatMode) -> bool
fn eq(&self, other: &RepeatMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RepeatMode
impl StructuralPartialEq for RepeatMode
Auto Trait Implementations§
impl RefUnwindSafe for RepeatMode
impl Send for RepeatMode
impl Sync for RepeatMode
impl Unpin for RepeatMode
impl UnwindSafe for RepeatMode
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