pub struct RoscConfig {
pub hz: u32,
pub range: RoscRange,
pub drive_strength: [u8; 8],
pub div: u16,
}Expand description
On-chip ring oscillator configuration.
Fields§
§hz: u32Final frequency of the oscillator, after the divider has been applied. The oscillator has a nominal frequency of 6.5MHz at medium range with divider 16 and all drive strengths set to 0, other values should be measured in situ.
range: RoscRangeOscillator range.
drive_strength: [u8; 8]Drive strength for oscillator.
div: u16Output divider.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RoscConfig
impl RefUnwindSafe for RoscConfig
impl Send for RoscConfig
impl Sync for RoscConfig
impl Unpin for RoscConfig
impl UnsafeUnpin for RoscConfig
impl UnwindSafe for RoscConfig
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