#[repr(transparent)]pub struct NcClkRecoverCtrl(pub u8);Expand description
USB Clock Recovery Control. F70RM 44.5.1.8 (text line 111672). 8-bit storage/access. Clock recovery is only for crystal-less FS Device mode, never Host mode or HS Device mode.
Tuple Fields§
§0: u8Implementations§
Source§impl NcClkRecoverCtrl
impl NcClkRecoverCtrl
Sourcepub const fn trim_init_val_sel(&self) -> bool
pub const fn trim_init_val_sel(&self) -> bool
Selects the source for the initial FIRC192M trim fine value used after a reset.. Raw encoding: 1b - IFR.
Sourcepub const fn set_trim_init_val_sel(&mut self, val: bool)
pub const fn set_trim_init_val_sel(&mut self, val: bool)
Selects the source for the initial FIRC192M trim fine value used after a reset.. Raw encoding: 1b - IFR.
Sourcepub const fn restart_ifrtrim_en(&self) -> bool
pub const fn restart_ifrtrim_en(&self) -> bool
Restart from IFR Trim Value. Raw encoding: 0b - Trim fine adjustment always works based on the previous updated trim fine value.; 1b - Trim fine restarts from the IFR trim value whenever you detect bus_reset or bus_resume or.
Sourcepub const fn set_restart_ifrtrim_en(&mut self, val: bool)
pub const fn set_restart_ifrtrim_en(&mut self, val: bool)
Restart from IFR Trim Value. Raw encoding: 0b - Trim fine adjustment always works based on the previous updated trim fine value.; 1b - Trim fine restarts from the IFR trim value whenever you detect bus_reset or bus_resume or.
Sourcepub const fn reset_resume_rough_en(&self) -> bool
pub const fn reset_resume_rough_en(&self) -> bool
Reset or Resume to Rough Phase Enable. Raw encoding: 0b - Always works in tracking phase after the first time rough phase, to track transition.; 1b - Go back to rough stage whenever a bus reset or bus resume occurs..
Sourcepub const fn set_reset_resume_rough_en(&mut self, val: bool)
pub const fn set_reset_resume_rough_en(&mut self, val: bool)
Reset or Resume to Rough Phase Enable. Raw encoding: 0b - Always works in tracking phase after the first time rough phase, to track transition.; 1b - Go back to rough stage whenever a bus reset or bus resume occurs..
Sourcepub const fn clock_recover_en(&self) -> bool
pub const fn clock_recover_en(&self) -> bool
Crystal-Less USB Enable. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn set_clock_recover_en(&mut self, val: bool)
pub const fn set_clock_recover_en(&mut self, val: bool)
Crystal-Less USB Enable. Raw encoding: 0b - Disables; 1b - Enables.
Trait Implementations§
Source§impl Clone for NcClkRecoverCtrl
impl Clone for NcClkRecoverCtrl
Source§fn clone(&self) -> NcClkRecoverCtrl
fn clone(&self) -> NcClkRecoverCtrl
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more