Enum esp32_hal::pulse_control::ClockSource
source · [−]pub enum ClockSource {
RefTick,
APB,
}
Expand description
Specify the clock source for the RMT peripheral on the ESP32 and ESP32-S3 variants
Variants
RefTick
Reference Tick (usually configured to 1 us)
APB
Application-level clock
Trait Implementations
sourceimpl Clone for ClockSource
impl Clone for ClockSource
sourcefn clone(&self) -> ClockSource
fn clone(&self) -> ClockSource
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 ClockSource
impl Debug for ClockSource
impl Copy for ClockSource
Auto Trait Implementations
impl RefUnwindSafe for ClockSource
impl Send for ClockSource
impl Sync for ClockSource
impl Unpin for ClockSource
impl UnwindSafe for ClockSource
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