#[repr(transparent)]pub struct LpmCsr2(pub u32);Expand description
USB LPM Control and Status 2
Tuple Fields§
§0: u32Implementations§
Source§impl LpmCsr2
impl LpmCsr2
Sourcepub const fn lpm_hst_send(&self) -> LpmHstSend
pub const fn lpm_hst_send(&self) -> LpmHstSend
LPM Host Send Extension Token
Sourcepub const fn set_lpm_hst_send(&mut self, val: LpmHstSend)
pub const fn set_lpm_hst_send(&mut self, val: LpmHstSend)
LPM Host Send Extension Token
Sourcepub const fn lpm_hst_devadd(&self) -> u8
pub const fn lpm_hst_devadd(&self) -> u8
LPM Host Extension Token’s Device Address
Sourcepub const fn set_lpm_hst_devadd(&mut self, val: u8)
pub const fn set_lpm_hst_devadd(&mut self, val: u8)
LPM Host Extension Token’s Device Address
Sourcepub const fn lpm_hst_besl(&self) -> u8
pub const fn lpm_hst_besl(&self) -> u8
LPM Host Extension Token’s BESL or HIRD
Sourcepub const fn set_lpm_hst_besl(&mut self, val: u8)
pub const fn set_lpm_hst_besl(&mut self, val: u8)
LPM Host Extension Token’s BESL or HIRD
Sourcepub const fn lpm_hst_rwken(&self) -> LpmHstRwken
pub const fn lpm_hst_rwken(&self) -> LpmHstRwken
LPM Host Extension Token’s bRemoteWake
Sourcepub const fn set_lpm_hst_rwken(&mut self, val: LpmHstRwken)
pub const fn set_lpm_hst_rwken(&mut self, val: LpmHstRwken)
LPM Host Extension Token’s bRemoteWake
Sourcepub const fn lpm_hst_stsrcvd(&self) -> LpmHstStsrcvd
pub const fn lpm_hst_stsrcvd(&self) -> LpmHstStsrcvd
LPM Host Response Status from the Device
Sourcepub const fn set_lpm_hst_stsrcvd(&mut self, val: LpmHstStsrcvd)
pub const fn set_lpm_hst_stsrcvd(&mut self, val: LpmHstStsrcvd)
LPM Host Response Status from the Device
Trait Implementations§
impl Copy for LpmCsr2
impl Eq for LpmCsr2
impl StructuralPartialEq for LpmCsr2
Auto Trait Implementations§
impl Freeze for LpmCsr2
impl RefUnwindSafe for LpmCsr2
impl Send for LpmCsr2
impl Sync for LpmCsr2
impl Unpin for LpmCsr2
impl UnwindSafe for LpmCsr2
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