Struct IntUsb
#[repr(transparent)]pub struct IntUsb(pub u8);
Expand description
USB Interrupt Status Register.
Tuple Fields§
§0: u8
Implementations§
§impl IntUsb
impl IntUsb
pub fn set_suspend(&mut self, val: bool)
pub fn set_suspend(&mut self, val: bool)
Suspend signal detected on USB bus.
pub fn set_resume(&mut self, val: bool)
pub fn set_resume(&mut self, val: bool)
Resume signal detected on USB bus.
Trait Implementations§
impl Copy for IntUsb
impl Eq for IntUsb
impl StructuralPartialEq for IntUsb
Auto Trait Implementations§
impl Freeze for IntUsb
impl RefUnwindSafe for IntUsb
impl Send for IntUsb
impl Sync for IntUsb
impl Unpin for IntUsb
impl UnwindSafe for IntUsb
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