pub struct Rosc { /* private fields */ }
Implementations§
Source§impl Rosc
impl Rosc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn freqa(self) -> Reg<Freqa, RW>
pub const fn freqa(self) -> Reg<Freqa, RW>
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
Trait Implementations§
impl Copy for Rosc
impl Eq for Rosc
impl Send for Rosc
impl StructuralPartialEq for Rosc
impl Sync for Rosc
Auto Trait Implementations§
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