#[repr(transparent)]pub struct Diepint2(pub u32);Expand description
Device IN Endpoint Interrupt Register
Tuple Fields§
§0: u32Implementations§
Source§impl Diepint2
impl Diepint2
Sourcepub const fn set_xfercompl(&mut self, val: bool)
pub const fn set_xfercompl(&mut self, val: bool)
Transfer Completed Interrupt (XferCompl)
Sourcepub const fn set_epdisbld(&mut self, val: bool)
pub const fn set_epdisbld(&mut self, val: bool)
Endpoint Disabled Interrupt (EPDisbld)
Sourcepub const fn set_ahberr(&mut self, val: bool)
pub const fn set_ahberr(&mut self, val: bool)
AHB Error (AHBErr)
Sourcepub const fn set_timeout(&mut self, val: bool)
pub const fn set_timeout(&mut self, val: bool)
Timeout Condition (TimeOUT)
Sourcepub const fn intkntxfemp(&self) -> bool
pub const fn intkntxfemp(&self) -> bool
IN Token Received When TxFIFO is Empty (INTknTXFEmp)
Sourcepub const fn set_intkntxfemp(&mut self, val: bool)
pub const fn set_intkntxfemp(&mut self, val: bool)
IN Token Received When TxFIFO is Empty (INTknTXFEmp)
Sourcepub const fn intknepmis(&self) -> bool
pub const fn intknepmis(&self) -> bool
IN Token Received with EP Mismatch (INTknEPMis)
Sourcepub const fn set_intknepmis(&mut self, val: bool)
pub const fn set_intknepmis(&mut self, val: bool)
IN Token Received with EP Mismatch (INTknEPMis)
Sourcepub const fn inepnakeff(&self) -> bool
pub const fn inepnakeff(&self) -> bool
IN Endpoint NAK Effective (INEPNakEff)
Sourcepub const fn set_inepnakeff(&mut self, val: bool)
pub const fn set_inepnakeff(&mut self, val: bool)
IN Endpoint NAK Effective (INEPNakEff)
Sourcepub const fn set_txfemp(&mut self, val: bool)
pub const fn set_txfemp(&mut self, val: bool)
Transmit FIFO Empty (TxFEmp)
Sourcepub const fn txfifoundrn(&self) -> bool
pub const fn txfifoundrn(&self) -> bool
Fifo Underrun (TxfifoUndrn)
Sourcepub const fn set_txfifoundrn(&mut self, val: bool)
pub const fn set_txfifoundrn(&mut self, val: bool)
Fifo Underrun (TxfifoUndrn)
Sourcepub const fn set_bnaintr(&mut self, val: bool)
pub const fn set_bnaintr(&mut self, val: bool)
BNA (Buffer Not Available) Interrupt (BNAIntr)
Sourcepub const fn set_pktdrpsts(&mut self, val: bool)
pub const fn set_pktdrpsts(&mut self, val: bool)
Packet Drop Status (PktDrpSts)
Sourcepub const fn set_bbleerr(&mut self, val: bool)
pub const fn set_bbleerr(&mut self, val: bool)
NAK Interrupt (BbleErr)
Sourcepub const fn set_nakintrpt(&mut self, val: bool)
pub const fn set_nakintrpt(&mut self, val: bool)
NAK Interrupt (NAKInterrupt)
Sourcepub const fn nyetintrpt(&self) -> bool
pub const fn nyetintrpt(&self) -> bool
NYET Interrupt (NYETIntrpt)
Sourcepub const fn set_nyetintrpt(&mut self, val: bool)
pub const fn set_nyetintrpt(&mut self, val: bool)
NYET Interrupt (NYETIntrpt)
Trait Implementations§
impl Copy for Diepint2
impl Eq for Diepint2
impl StructuralPartialEq for Diepint2
Auto Trait Implementations§
impl Freeze for Diepint2
impl RefUnwindSafe for Diepint2
impl Send for Diepint2
impl Sync for Diepint2
impl Unpin for Diepint2
impl UnwindSafe for Diepint2
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)