Enum esp32_hal::rtc_cntl::RtcSlowClock
source · #[non_exhaustive]pub enum RtcSlowClock {
RtcSlowClockRtc = 0,
RtcSlowClock32kXtal = 1,
RtcSlowClock8mD256 = 2,
}
Expand description
RTC SLOW_CLK frequency values
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RtcSlowClockRtc = 0
Internal slow RC oscillator
RtcSlowClock32kXtal = 1
External 32 KHz XTAL
RtcSlowClock8mD256 = 2
Internal fast RC oscillator, divided by 256
Trait Implementations§
source§impl Clock for RtcSlowClock
impl Clock for RtcSlowClock
source§impl Clone for RtcSlowClock
impl Clone for RtcSlowClock
source§fn clone(&self) -> RtcSlowClock
fn clone(&self) -> RtcSlowClock
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 RtcSlowClock
impl Debug for RtcSlowClock
impl Copy for RtcSlowClock
Auto Trait Implementations§
impl RefUnwindSafe for RtcSlowClock
impl Send for RtcSlowClock
impl Sync for RtcSlowClock
impl Unpin for RtcSlowClock
impl UnwindSafe for RtcSlowClock
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