#[repr(transparent)]pub struct Ringo2Ctrl(pub u32);Expand description
Third Ring Oscillator module control register.
Tuple Fields§
§0: u32Implementations§
Source§impl Ringo2Ctrl
impl Ringo2Ctrl
Sourcepub const fn s(&self) -> Ringo2CtrlS
pub const fn s(&self) -> Ringo2CtrlS
Select short or long ringo (for all ringos types).
Sourcepub const fn set_s(&mut self, val: Ringo2CtrlS)
pub const fn set_s(&mut self, val: Ringo2CtrlS)
Select short or long ringo (for all ringos types).
Sourcepub const fn fs(&self) -> Ringo2CtrlFs
pub const fn fs(&self) -> Ringo2CtrlFs
Ringo frequency output divider.
Sourcepub const fn set_fs(&mut self, val: Ringo2CtrlFs)
pub const fn set_fs(&mut self, val: Ringo2CtrlFs)
Ringo frequency output divider.
Sourcepub const fn pd(&self) -> Ringo2CtrlPd
pub const fn pd(&self) -> Ringo2CtrlPd
Ringo module Power control.
Sourcepub const fn set_pd(&mut self, val: Ringo2CtrlPd)
pub const fn set_pd(&mut self, val: Ringo2CtrlPd)
Ringo module Power control.
Sourcepub const fn divisor(&self) -> u8
pub const fn divisor(&self) -> u8
Ringo out Clock divider value. Frequency Output = Frequency input / (DIViSOR+1). (minimum = Frequency input / 16)
Sourcepub const fn set_divisor(&mut self, val: u8)
pub const fn set_divisor(&mut self, val: u8)
Ringo out Clock divider value. Frequency Output = Frequency input / (DIViSOR+1). (minimum = Frequency input / 16)
Sourcepub const fn div_update_req(&self) -> bool
pub const fn div_update_req(&self) -> bool
Ringo clock out Divider status flag. Set when a change is made to the divider value, cleared when the change is complete.
Sourcepub const fn set_div_update_req(&mut self, val: bool)
pub const fn set_div_update_req(&mut self, val: bool)
Ringo clock out Divider status flag. Set when a change is made to the divider value, cleared when the change is complete.
Trait Implementations§
Source§impl Clone for Ringo2Ctrl
impl Clone for Ringo2Ctrl
Source§fn clone(&self) -> Ringo2Ctrl
fn clone(&self) -> Ringo2Ctrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ringo2Ctrl
impl Debug for Ringo2Ctrl
Source§impl Default for Ringo2Ctrl
impl Default for Ringo2Ctrl
Source§fn default() -> Ringo2Ctrl
fn default() -> Ringo2Ctrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for Ringo2Ctrl
impl PartialEq for Ringo2Ctrl
impl Copy for Ringo2Ctrl
impl Eq for Ringo2Ctrl
impl StructuralPartialEq for Ringo2Ctrl
Auto Trait Implementations§
impl Freeze for Ringo2Ctrl
impl RefUnwindSafe for Ringo2Ctrl
impl Send for Ringo2Ctrl
impl Sync for Ringo2Ctrl
impl Unpin for Ringo2Ctrl
impl UnwindSafe for Ringo2Ctrl
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