Enum d1_pac::rtc::losc_ctrl::EXT_LOSC_GSM_A
source · #[repr(u8)]pub enum EXT_LOSC_GSM_A {
LOW = 0,
HIGH = 3,
}
Expand description
External 32.768 kHz Crystal GSM
When GSM is changed, the 32K oscillation circuit will arise transient instability. If the autoswitch function (bit 15) is enabled, 32K changes to RC16M with certain probability. The GSM can influence the time of 32K starting oscillation, the more the GSM, the shorter the time of starting oscillation. So modifying GSM is not recommended.
If you need to modify the GSM, firstly disable the auto switch function (bit 15), with a delay of 50 us, then change the GSM, the 32K clock source is changed to external clock.
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for EXT_LOSC_GSM_A
impl Clone for EXT_LOSC_GSM_A
source§fn clone(&self) -> EXT_LOSC_GSM_A
fn clone(&self) -> EXT_LOSC_GSM_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 EXT_LOSC_GSM_A
impl Debug for EXT_LOSC_GSM_A
source§impl From<EXT_LOSC_GSM_A> for u8
impl From<EXT_LOSC_GSM_A> for u8
source§fn from(variant: EXT_LOSC_GSM_A) -> Self
fn from(variant: EXT_LOSC_GSM_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for EXT_LOSC_GSM_A
impl PartialEq for EXT_LOSC_GSM_A
impl Copy for EXT_LOSC_GSM_A
impl Eq for EXT_LOSC_GSM_A
impl StructuralPartialEq for EXT_LOSC_GSM_A
Auto Trait Implementations§
impl Freeze for EXT_LOSC_GSM_A
impl RefUnwindSafe for EXT_LOSC_GSM_A
impl Send for EXT_LOSC_GSM_A
impl Sync for EXT_LOSC_GSM_A
impl Unpin for EXT_LOSC_GSM_A
impl UnwindSafe for EXT_LOSC_GSM_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
)