Struct rp2040_pac2::xosc::regs::Startup[][src]

#[repr(transparent)]pub struct Startup(pub u32);

Controls the startup delay

Implementations

impl Startup[src]

pub const fn x4(&self) -> bool[src]

Multiplies the startup_delay by 4. This is of little value to the user given that the delay can be programmed directly

pub fn set_x4(&mut self, val: bool)[src]

Multiplies the startup_delay by 4. This is of little value to the user given that the delay can be programmed directly

pub const fn delay(&self) -> u16[src]

in multiples of 256*xtal_period

pub fn set_delay(&mut self, val: u16)[src]

in multiples of 256*xtal_period

Trait Implementations

impl Clone for Startup[src]

impl Copy for Startup[src]

impl Default for Startup[src]

Auto Trait Implementations

impl Send for Startup

impl Sync for Startup

impl Unpin for Startup

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.