Struct stm32_metapac::usb::regs::Lpmcsr
#[repr(transparent)]pub struct Lpmcsr(pub u32);
Expand description
LPM control and status register
Tuple Fields§
§0: u32
Implementations§
§impl Lpmcsr
impl Lpmcsr
pub fn set_lpmack(&mut self, val: Lpmack)
pub fn set_lpmack(&mut self, val: Lpmack)
LPMACK
pub fn set_remwake(&mut self, val: bool)
pub fn set_remwake(&mut self, val: bool)
REMWAKE
Trait Implementations§
impl Copy for Lpmcsr
impl Eq for Lpmcsr
impl StructuralPartialEq for Lpmcsr
Auto Trait Implementations§
impl Freeze for Lpmcsr
impl RefUnwindSafe for Lpmcsr
impl Send for Lpmcsr
impl Sync for Lpmcsr
impl Unpin for Lpmcsr
impl UnwindSafe for Lpmcsr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)