#[repr(transparent)]pub struct LpmCsr1(pub u32);Expand description
USB LPM Control and Status 1
Tuple Fields§
§0: u32Implementations§
Source§impl LpmCsr1
impl LpmCsr1
Sourcepub const fn lpm_dev_beslthres(&self) -> LpmDevBeslthres
pub const fn lpm_dev_beslthres(&self) -> LpmDevBeslthres
Device Required Host Initiated Resume Duration
Sourcepub const fn set_lpm_dev_beslthres(&mut self, val: LpmDevBeslthres)
pub const fn set_lpm_dev_beslthres(&mut self, val: LpmDevBeslthres)
Device Required Host Initiated Resume Duration
Sourcepub const fn lpm_dev_res(&self) -> LpmDevRes
pub const fn lpm_dev_res(&self) -> LpmDevRes
LPM Device Response
Sourcepub const fn set_lpm_dev_res(&mut self, val: LpmDevRes)
pub const fn set_lpm_dev_res(&mut self, val: LpmDevRes)
LPM Device Response
Sourcepub const fn lpm_dev_dp(&self) -> LpmDevDp
pub const fn lpm_dev_dp(&self) -> LpmDevDp
LPM Device Data Pending
Sourcepub const fn set_lpm_dev_dp(&mut self, val: LpmDevDp)
pub const fn set_lpm_dev_dp(&mut self, val: LpmDevDp)
LPM Device Data Pending
Sourcepub const fn lpm_dev_rspsts(&self) -> LpmDevRspsts
pub const fn lpm_dev_rspsts(&self) -> LpmDevRspsts
LPM Device Response Status
Sourcepub const fn set_lpm_dev_rspsts(&mut self, val: LpmDevRspsts)
pub const fn set_lpm_dev_rspsts(&mut self, val: LpmDevRspsts)
LPM Device Response Status
Sourcepub const fn lpm_dev_rwkenrcvd(&self) -> LpmDevRwkenrcvd
pub const fn lpm_dev_rwkenrcvd(&self) -> LpmDevRwkenrcvd
LPM Device Received bRemoteWake
Sourcepub const fn set_lpm_dev_rwkenrcvd(&mut self, val: LpmDevRwkenrcvd)
pub const fn set_lpm_dev_rwkenrcvd(&mut self, val: LpmDevRwkenrcvd)
LPM Device Received bRemoteWake
Sourcepub const fn lpm_dev_lnkstrcvd(&self) -> LpmDevLnkstrcvd
pub const fn lpm_dev_lnkstrcvd(&self) -> LpmDevLnkstrcvd
LPM Device Received bLinkState
Sourcepub const fn set_lpm_dev_lnkstrcvd(&mut self, val: LpmDevLnkstrcvd)
pub const fn set_lpm_dev_lnkstrcvd(&mut self, val: LpmDevLnkstrcvd)
LPM Device Received bLinkState
Sourcepub const fn lpm_dev_beslrcvd(&self) -> u8
pub const fn lpm_dev_beslrcvd(&self) -> u8
LPM Device Received BESL
Sourcepub const fn set_lpm_dev_beslrcvd(&mut self, val: u8)
pub const fn set_lpm_dev_beslrcvd(&mut self, val: u8)
LPM Device Received BESL
Trait Implementations§
impl Copy for LpmCsr1
impl Eq for LpmCsr1
impl StructuralPartialEq for LpmCsr1
Auto Trait Implementations§
impl Freeze for LpmCsr1
impl RefUnwindSafe for LpmCsr1
impl Send for LpmCsr1
impl Sync for LpmCsr1
impl Unpin for LpmCsr1
impl UnwindSafe for LpmCsr1
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