pub struct Rosc(pub *mut u8);
Tuple Fields§
§0: *mut u8
Implementations§
Source§impl Rosc
impl Rosc
Sourcepub fn freqa(self) -> Reg<Freqa, RW>
pub 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
Sourcepub fn dormant(self) -> Reg<u32, RW>
pub fn dormant(self) -> Reg<u32, RW>
Ring Oscillator pause control This is used to save power by pausing the ROSC On power-up this field is initialised to WAKE An invalid write will also select WAKE Warning: setup the irq before selecting dormant mode
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