Struct stm32mp1::stm32mp157::otg::otg_diepint6::OTG_DIEPINT6_SPEC
source · [−]pub struct OTG_DIEPINT6_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 IN endpoints interrupt bit of the core interrupt register (IEPINT in OTG_GINTSTS) is set. Before the application can read this register, it must first read the device all endpoints interrupt (OTG_DAINT) register to get the exact endpoint number for the device endpoint-x interrupt 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_diepint6 module
Trait Implementations
sourceimpl Readable for OTG_DIEPINT6_SPEC
impl Readable for OTG_DIEPINT6_SPEC
read()
method returns otg_diepint6::R reader structure
sourceimpl RegisterSpec for OTG_DIEPINT6_SPEC
impl RegisterSpec for OTG_DIEPINT6_SPEC
sourceimpl Resettable for OTG_DIEPINT6_SPEC
impl Resettable for OTG_DIEPINT6_SPEC
reset()
method sets OTG_DIEPINT6 to value 0x80
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_DIEPINT6_SPEC
impl Writable for OTG_DIEPINT6_SPEC
write(|w| ..)
method takes otg_diepint6::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_DIEPINT6_SPEC
impl Send for OTG_DIEPINT6_SPEC
impl Sync for OTG_DIEPINT6_SPEC
impl Unpin for OTG_DIEPINT6_SPEC
impl UnwindSafe for OTG_DIEPINT6_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