#[repr(transparent)]pub struct NcLpmCsr0(pub u32);Expand description
USB LPM Control and Status 0. F70RM 44.5.1.5 (text line 111294).
Tuple Fields§
§0: u32Implementations§
Source§impl NcLpmCsr0
impl NcLpmCsr0
Sourcepub const fn lpm_en(&self) -> bool
pub const fn lpm_en(&self) -> bool
Link Power Management Feature Enable. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn set_lpm_en(&mut self, val: bool)
pub const fn set_lpm_en(&mut self, val: bool)
Link Power Management Feature Enable. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn lpm_errata_en(&self) -> bool
pub const fn lpm_errata_en(&self) -> bool
Link Power Management ECN Errata Feature Enable. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn set_lpm_errata_en(&mut self, val: bool)
pub const fn set_lpm_errata_en(&mut self, val: bool)
Link Power Management ECN Errata Feature Enable. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn lpm_auto_phcd(&self) -> bool
pub const fn lpm_auto_phcd(&self) -> bool
Auto Low-Power Mode. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn set_lpm_auto_phcd(&mut self, val: bool)
pub const fn set_lpm_auto_phcd(&mut self, val: bool)
Auto Low-Power Mode. Raw encoding: 0b - Disables; 1b - Enables.
Sourcepub const fn lpm_resumeok(&self) -> bool
pub const fn lpm_resumeok(&self) -> bool
LPM Resume OK. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Cannot resume; 1b - Can resume.
Sourcepub const fn set_lpm_resumeok(&mut self, val: bool)
pub const fn set_lpm_resumeok(&mut self, val: bool)
LPM Resume OK. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Cannot resume; 1b - Can resume.
Sourcepub const fn lpm_l1_active(&self) -> bool
pub const fn lpm_l1_active(&self) -> bool
LPM Active. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Inactive; 1b - Active.
Sourcepub const fn set_lpm_l1_active(&mut self, val: bool)
pub const fn set_lpm_l1_active(&mut self, val: bool)
LPM Active. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Inactive; 1b - Active.