Enum d1_pac::rtc::losc_ctrl::RTC_SRC_SEL_A
source · pub enum RTC_SRC_SEL_A {
LOSC_SRC = 0,
_24MDIV32K = 1,
}
Expand description
RTC_TIMER Clock Source Select
Value on reset: 0
Variants§
LOSC_SRC = 0
0: LOSC_SRC
_24MDIV32K = 1
1: 24MDIV32K
Before switching the bit, make sure that the 24MDIV32K function is enabled, that is, the bit16 of the 32K Fanout Control Register is 1.
Trait Implementations§
source§impl Clone for RTC_SRC_SEL_A
impl Clone for RTC_SRC_SEL_A
source§fn clone(&self) -> RTC_SRC_SEL_A
fn clone(&self) -> RTC_SRC_SEL_A
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 RTC_SRC_SEL_A
impl Debug for RTC_SRC_SEL_A
source§impl From<RTC_SRC_SEL_A> for bool
impl From<RTC_SRC_SEL_A> for bool
source§fn from(variant: RTC_SRC_SEL_A) -> Self
fn from(variant: RTC_SRC_SEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for RTC_SRC_SEL_A
impl PartialEq for RTC_SRC_SEL_A
impl Copy for RTC_SRC_SEL_A
impl Eq for RTC_SRC_SEL_A
impl StructuralPartialEq for RTC_SRC_SEL_A
Auto Trait Implementations§
impl Freeze for RTC_SRC_SEL_A
impl RefUnwindSafe for RTC_SRC_SEL_A
impl Send for RTC_SRC_SEL_A
impl Sync for RTC_SRC_SEL_A
impl Unpin for RTC_SRC_SEL_A
impl UnwindSafe for RTC_SRC_SEL_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)