Struct rp2040_pac2::rosc::regs::Freqa [−][src]
The FREQA & FREQB registers control the frequency by controlling the drive strength of each stage The drive strength has 4 levels determined by the number of bits set Increasing the number of bits set increases the drive strength and increases the oscillation frequency 0 bits set is the default drive strength 1 bit set doubles the drive strength 2 bits set triples drive strength 3 bits set quadruples drive strength
Implementations
impl Freqa
[src]
pub const fn passwd(&self) -> Passwd
[src]
Set to 0x9696 to apply the settings Any other value in this field will set all drive strengths to 0
pub fn set_passwd(&mut self, val: Passwd)
[src]
Set to 0x9696 to apply the settings Any other value in this field will set all drive strengths to 0
pub const fn ds3(&self) -> u8
[src]
Stage 3 drive strength
pub fn set_ds3(&mut self, val: u8)
[src]
Stage 3 drive strength
pub const fn ds2(&self) -> u8
[src]
Stage 2 drive strength
pub fn set_ds2(&mut self, val: u8)
[src]
Stage 2 drive strength
pub const fn ds1(&self) -> u8
[src]
Stage 1 drive strength
pub fn set_ds1(&mut self, val: u8)
[src]
Stage 1 drive strength
pub const fn ds0(&self) -> u8
[src]
Stage 0 drive strength
pub fn set_ds0(&mut self, val: u8)
[src]
Stage 0 drive strength
Trait Implementations
impl Clone for Freqa
[src]
fn clone(&self) -> Freqa
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Freqa
[src]
impl Default for Freqa
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,