Enum rp2040_pac::xosc::ctrl::ENABLE_A
source · #[repr(u16)]pub enum ENABLE_A {
DISABLE = 3_358,
ENABLE = 4_011,
}
Expand description
On power-up this field is initialised to DISABLE and the chip runs from the ROSC.
If the chip has subsequently been programmed to run from the XOSC then setting this field to DISABLE may lock-up the chip. If this is a concern then run the clk_ref from the ROSC and enable the clk_sys RESUS feature.
The 12-bit code is intended to give some protection against accidental writes. An invalid setting will enable the oscillator.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for ENABLE_A
impl Eq for ENABLE_A
impl StructuralPartialEq for ENABLE_A
Auto Trait Implementations§
impl Freeze for ENABLE_A
impl RefUnwindSafe for ENABLE_A
impl Send for ENABLE_A
impl Sync for ENABLE_A
impl Unpin for ENABLE_A
impl UnwindSafe for ENABLE_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§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
)