#[repr(transparent)]pub struct ClkRecoverCtrl(pub u8);Expand description
USB Clock Recovery Control
Tuple Fields§
§0: u8Implementations§
Source§impl ClkRecoverCtrl
impl ClkRecoverCtrl
Sourcepub const fn trim_init_val_sel(&self) -> TrimInitValSel
pub const fn trim_init_val_sel(&self) -> TrimInitValSel
Selects the source for the initial FIRC trim fine value used after a reset.
Sourcepub const fn set_trim_init_val_sel(&mut self, val: TrimInitValSel)
pub const fn set_trim_init_val_sel(&mut self, val: TrimInitValSel)
Selects the source for the initial FIRC trim fine value used after a reset.
Sourcepub const fn restart_ifrtrim_en(&self) -> RestartIfrtrimEn
pub const fn restart_ifrtrim_en(&self) -> RestartIfrtrimEn
Restart from IFR Trim Value
Sourcepub const fn set_restart_ifrtrim_en(&mut self, val: RestartIfrtrimEn)
pub const fn set_restart_ifrtrim_en(&mut self, val: RestartIfrtrimEn)
Restart from IFR Trim Value
Sourcepub const fn reset_resume_rough_en(&self) -> ResetResumeRoughEn
pub const fn reset_resume_rough_en(&self) -> ResetResumeRoughEn
Reset or Resume to Rough Phase Enable
Sourcepub const fn set_reset_resume_rough_en(&mut self, val: ResetResumeRoughEn)
pub const fn set_reset_resume_rough_en(&mut self, val: ResetResumeRoughEn)
Reset or Resume to Rough Phase Enable
Sourcepub const fn clock_recover_en(&self) -> ClockRecoverEn
pub const fn clock_recover_en(&self) -> ClockRecoverEn
Crystal-Less USB Enable
Sourcepub const fn set_clock_recover_en(&mut self, val: ClockRecoverEn)
pub const fn set_clock_recover_en(&mut self, val: ClockRecoverEn)
Crystal-Less USB Enable
Trait Implementations§
Source§impl Clone for ClkRecoverCtrl
impl Clone for ClkRecoverCtrl
Source§fn clone(&self) -> ClkRecoverCtrl
fn clone(&self) -> ClkRecoverCtrl
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 ClkRecoverCtrl
impl Debug for ClkRecoverCtrl
Source§impl Default for ClkRecoverCtrl
impl Default for ClkRecoverCtrl
Source§fn default() -> ClkRecoverCtrl
fn default() -> ClkRecoverCtrl
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClkRecoverCtrl
impl PartialEq for ClkRecoverCtrl
impl Copy for ClkRecoverCtrl
impl Eq for ClkRecoverCtrl
impl StructuralPartialEq for ClkRecoverCtrl
Auto Trait Implementations§
impl Freeze for ClkRecoverCtrl
impl RefUnwindSafe for ClkRecoverCtrl
impl Send for ClkRecoverCtrl
impl Sync for ClkRecoverCtrl
impl Unpin for ClkRecoverCtrl
impl UnwindSafe for ClkRecoverCtrl
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