#[repr(transparent)]pub struct Srpc(pub u32);Expand description
PhaseConfig Register
Tuple Fields§
§0: u32Implementations§
Source§impl Srpc
impl Srpc
Sourcepub const fn set_gain_sel(&mut self, val: GainSel)
pub const fn set_gain_sel(&mut self, val: GainSel)
Gain selection:
Sourcepub const fn set_lock(&mut self, val: bool)
pub const fn set_lock(&mut self, val: bool)
LOCK bit to show that the internal DPLL is locked, read only
Sourcepub const fn clk_src_sel(&self) -> ClkSrcSel
pub const fn clk_src_sel(&self) -> ClkSrcSel
Clock source selection, all other settings not shown are reserved:
Sourcepub const fn set_clk_src_sel(&mut self, val: ClkSrcSel)
pub const fn set_clk_src_sel(&mut self, val: ClkSrcSel)
Clock source selection, all other settings not shown are reserved:
Trait Implementations§
impl Copy for Srpc
impl Eq for Srpc
impl StructuralPartialEq for Srpc
Auto Trait Implementations§
impl Freeze for Srpc
impl RefUnwindSafe for Srpc
impl Send for Srpc
impl Sync for Srpc
impl Unpin for Srpc
impl UnwindSafe for Srpc
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