Enum esp32c3_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
sourceimpl Clone for RepeatMode
impl Clone for RepeatMode
sourcefn clone(&self) -> RepeatMode
fn clone(&self) -> RepeatMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RepeatMode
impl Debug for RepeatMode
sourceimpl PartialEq<RepeatMode> for RepeatMode
impl PartialEq<RepeatMode> for RepeatMode
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more