#[repr(transparent)]pub struct LpmCsr0(pub u32);Expand description
USB LPM Control and Status 0
Tuple Fields§
§0: u32Implementations§
Source§impl LpmCsr0
impl LpmCsr0
Sourcepub const fn set_lpm_en(&mut self, val: LpmEn)
pub const fn set_lpm_en(&mut self, val: LpmEn)
Link Power Management Feature Enable
Sourcepub const fn lpm_errata_en(&self) -> LpmErrataEn
pub const fn lpm_errata_en(&self) -> LpmErrataEn
Link Power Management ECN Errata Feature Enable
Sourcepub const fn set_lpm_errata_en(&mut self, val: LpmErrataEn)
pub const fn set_lpm_errata_en(&mut self, val: LpmErrataEn)
Link Power Management ECN Errata Feature Enable
Sourcepub const fn lpm_auto_phcd(&self) -> LpmAutoPhcd
pub const fn lpm_auto_phcd(&self) -> LpmAutoPhcd
Auto Low-Power Mode
Sourcepub const fn set_lpm_auto_phcd(&mut self, val: LpmAutoPhcd)
pub const fn set_lpm_auto_phcd(&mut self, val: LpmAutoPhcd)
Auto Low-Power Mode
Sourcepub const fn lpm_resumeok(&self) -> LpmResumeok
pub const fn lpm_resumeok(&self) -> LpmResumeok
LPM Resume OK
Sourcepub const fn set_lpm_resumeok(&mut self, val: LpmResumeok)
pub const fn set_lpm_resumeok(&mut self, val: LpmResumeok)
LPM Resume OK
Sourcepub const fn lpm_l1_active(&self) -> LpmL1Active
pub const fn lpm_l1_active(&self) -> LpmL1Active
LPM Active
Sourcepub const fn set_lpm_l1_active(&mut self, val: LpmL1Active)
pub const fn set_lpm_l1_active(&mut self, val: LpmL1Active)
LPM Active
Trait Implementations§
impl Copy for LpmCsr0
impl Eq for LpmCsr0
impl StructuralPartialEq for LpmCsr0
Auto Trait Implementations§
impl Freeze for LpmCsr0
impl RefUnwindSafe for LpmCsr0
impl Send for LpmCsr0
impl Sync for LpmCsr0
impl Unpin for LpmCsr0
impl UnwindSafe for LpmCsr0
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