Struct stm32_metapac::otg::regs::Hcintmsk
#[repr(transparent)]pub struct Hcintmsk(pub u32);
Expand description
Host channel mask register
Tuple Fields§
§0: u32
Implementations§
§impl Hcintmsk
impl Hcintmsk
pub fn set_stallm(&mut self, val: bool)
pub fn set_stallm(&mut self, val: bool)
STALL response received interrupt mask
pub fn set_txerrm(&mut self, val: bool)
pub fn set_txerrm(&mut self, val: bool)
Transaction error mask
pub fn set_bberrm(&mut self, val: bool)
pub fn set_bberrm(&mut self, val: bool)
Babble error mask
pub fn set_frmorm(&mut self, val: bool)
pub fn set_frmorm(&mut self, val: bool)
Frame overrun mask
pub fn set_dterrm(&mut self, val: bool)
pub fn set_dterrm(&mut self, val: bool)
Data toggle error mask
Trait Implementations§
impl Copy for Hcintmsk
impl Eq for Hcintmsk
impl StructuralPartialEq for Hcintmsk
Auto Trait Implementations§
impl Freeze for Hcintmsk
impl RefUnwindSafe for Hcintmsk
impl Send for Hcintmsk
impl Sync for Hcintmsk
impl Unpin for Hcintmsk
impl UnwindSafe for Hcintmsk
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
)