Struct stm32mp1::stm32mp157::otg::otg_diepmsk::OTG_DIEPMSK_SPEC
source · [−]pub struct OTG_DIEPMSK_SPEC;
Expand description
This register works with each of the OTG_DIEPINTx registers for all endpoints to generate an interrupt per IN endpoint. The IN endpoint interrupt for a specific status in the OTG_DIEPINTx register can be masked by writing to the corresponding bit in this register. Status bits are masked by default.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see otg_diepmsk module
Trait Implementations
sourceimpl Readable for OTG_DIEPMSK_SPEC
impl Readable for OTG_DIEPMSK_SPEC
read()
method returns otg_diepmsk::R reader structure
sourceimpl RegisterSpec for OTG_DIEPMSK_SPEC
impl RegisterSpec for OTG_DIEPMSK_SPEC
sourceimpl Resettable for OTG_DIEPMSK_SPEC
impl Resettable for OTG_DIEPMSK_SPEC
reset()
method sets OTG_DIEPMSK to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_DIEPMSK_SPEC
impl Writable for OTG_DIEPMSK_SPEC
write(|w| ..)
method takes otg_diepmsk::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_DIEPMSK_SPEC
impl Send for OTG_DIEPMSK_SPEC
impl Sync for OTG_DIEPMSK_SPEC
impl Unpin for OTG_DIEPMSK_SPEC
impl UnwindSafe for OTG_DIEPMSK_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