Struct stm32mp1::stm32mp157::otg::otg_doepint4::OTG_DOEPINT4_SPEC
source · [−]pub struct OTG_DOEPINT4_SPEC;
Expand description
This register indicates the status of an endpoint with respect to USB- and AHB-related events. It is shown in Figure724. The application must read this register when the OUT endpoints interrupt bit of the OTG_GINTSTS register (OEPINT bit in OTG_GINTSTS) is set. Before the application can read this register, it must first read the OTG_DAINT register to get the exact endpoint number for the OTG_DOEPINTx register. The application must clear the appropriate bit in this register to clear the corresponding bits in the OTG_DAINT and OTG_GINTSTS registers.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see otg_doepint4 module
Trait Implementations
sourceimpl Readable for OTG_DOEPINT4_SPEC
impl Readable for OTG_DOEPINT4_SPEC
read()
method returns otg_doepint4::R reader structure
sourceimpl RegisterSpec for OTG_DOEPINT4_SPEC
impl RegisterSpec for OTG_DOEPINT4_SPEC
sourceimpl Resettable for OTG_DOEPINT4_SPEC
impl Resettable for OTG_DOEPINT4_SPEC
reset()
method sets OTG_DOEPINT4 to value 0x80
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_DOEPINT4_SPEC
impl Writable for OTG_DOEPINT4_SPEC
write(|w| ..)
method takes otg_doepint4::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_DOEPINT4_SPEC
impl Send for OTG_DOEPINT4_SPEC
impl Sync for OTG_DOEPINT4_SPEC
impl Unpin for OTG_DOEPINT4_SPEC
impl UnwindSafe for OTG_DOEPINT4_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more