Struct stm32mp1::stm32mp157::otg::otg_hcint7::OTG_HCINT7_SPEC
source · [−]pub struct OTG_HCINT7_SPEC;
Expand description
This register indicates the status of a channel with respect to USB- and AHB-related events. It is shown in Figure724. The application must read this register when the host channels interrupt bit in the core interrupt register (HCINT bit in OTG_GINTSTS) is set. Before the application can read this register, it must first read the host all channels interrupt (OTG_HAINT) register to get the exact channel number for the host channel-x interrupt register. The application must clear the appropriate bit in this register to clear the corresponding bits in the OTG_HAINT and OTG_GINTSTS registers.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see otg_hcint7 module
Trait Implementations
sourceimpl Readable for OTG_HCINT7_SPEC
impl Readable for OTG_HCINT7_SPEC
read()
method returns otg_hcint7::R reader structure
sourceimpl RegisterSpec for OTG_HCINT7_SPEC
impl RegisterSpec for OTG_HCINT7_SPEC
sourceimpl Resettable for OTG_HCINT7_SPEC
impl Resettable for OTG_HCINT7_SPEC
reset()
method sets OTG_HCINT7 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_HCINT7_SPEC
impl Writable for OTG_HCINT7_SPEC
write(|w| ..)
method takes otg_hcint7::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_HCINT7_SPEC
impl Send for OTG_HCINT7_SPEC
impl Sync for OTG_HCINT7_SPEC
impl Unpin for OTG_HCINT7_SPEC
impl UnwindSafe for OTG_HCINT7_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