Struct stm32mp1::stm32mp157::otg::otg_daint::OTG_DAINT_SPEC
source · [−]pub struct OTG_DAINT_SPEC;
Expand description
When a significant event occurs on an endpoint, a OTG_DAINT register interrupts the application using the device OUT endpoints interrupt bit or device IN endpoints interrupt bit of the OTG_GINTSTS register (OEPINT or IEPINT in OTG_GINTSTS, respectively). There is one interrupt bit per endpoint, up to a maximum of 16 bits for OUT endpoints and 16 bits for IN endpoints. For a bidirectional endpoint, the corresponding IN and OUT interrupt bits are used. Bits in this register are set and cleared when the application sets and clears bits in the corresponding device endpoint-x interrupt register (OTG_DIEPINTx/OTG_DOEPINTx).
This register you can read
. See API.
For information about available fields see otg_daint module
Trait Implementations
sourceimpl Readable for OTG_DAINT_SPEC
impl Readable for OTG_DAINT_SPEC
read()
method returns otg_daint::R reader structure
sourceimpl RegisterSpec for OTG_DAINT_SPEC
impl RegisterSpec for OTG_DAINT_SPEC
sourceimpl Resettable for OTG_DAINT_SPEC
impl Resettable for OTG_DAINT_SPEC
reset()
method sets OTG_DAINT to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Auto Trait Implementations
impl RefUnwindSafe for OTG_DAINT_SPEC
impl Send for OTG_DAINT_SPEC
impl Sync for OTG_DAINT_SPEC
impl Unpin for OTG_DAINT_SPEC
impl UnwindSafe for OTG_DAINT_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