Struct rp_pac::otp_data_raw::regs::BootselXoscCfg
source · #[repr(transparent)]pub struct BootselXoscCfg(pub u32);
Expand description
Non-default crystal oscillator configuration for the USB bootloader. (ECC) These values may also be used by user code configuring the crystal oscillator. Used if and only if ENABLE_BOOTSEL_NON_DEFAULT_PLL_XOSC_CFG is set in BOOT_FLAGS0. That bit should be set only after this row and BOOTSEL_PLL_CFG are both correctly programmed.
Tuple Fields§
§0: u32
Implementations§
source§impl BootselXoscCfg
impl BootselXoscCfg
sourcepub fn set_startup(&mut self, val: u16)
pub fn set_startup(&mut self, val: u16)
Value of the XOSC_STARTUP register
Trait Implementations§
source§impl Clone for BootselXoscCfg
impl Clone for BootselXoscCfg
source§fn clone(&self) -> BootselXoscCfg
fn clone(&self) -> BootselXoscCfg
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 Default for BootselXoscCfg
impl Default for BootselXoscCfg
source§fn default() -> BootselXoscCfg
fn default() -> BootselXoscCfg
Returns the “default value” for a type. Read more
source§impl PartialEq for BootselXoscCfg
impl PartialEq for BootselXoscCfg
impl Copy for BootselXoscCfg
impl Eq for BootselXoscCfg
impl StructuralPartialEq for BootselXoscCfg
Auto Trait Implementations§
impl Freeze for BootselXoscCfg
impl RefUnwindSafe for BootselXoscCfg
impl Send for BootselXoscCfg
impl Sync for BootselXoscCfg
impl Unpin for BootselXoscCfg
impl UnwindSafe for BootselXoscCfg
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
)