Struct stm32mp1::stm32mp157::otg::otg_doeptsiz4::OTG_DOEPTSIZ4_SPEC
source · [−]pub struct OTG_DOEPTSIZ4_SPEC;
Expand description
The application must modify this register before enabling the endpoint. Once the endpoint is enabled using endpoint enable bit of the OTG_DOEPCTLx registers (EPENA bit in OTG_DOEPCTLx), the core modifies this register. The application can only read this register once the core has cleared the endpoint enable bit.
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see otg_doeptsiz4 module
Trait Implementations
sourceimpl Readable for OTG_DOEPTSIZ4_SPEC
impl Readable for OTG_DOEPTSIZ4_SPEC
read()
method returns otg_doeptsiz4::R reader structure
sourceimpl RegisterSpec for OTG_DOEPTSIZ4_SPEC
impl RegisterSpec for OTG_DOEPTSIZ4_SPEC
sourceimpl Resettable for OTG_DOEPTSIZ4_SPEC
impl Resettable for OTG_DOEPTSIZ4_SPEC
reset()
method sets OTG_DOEPTSIZ4 to value 0
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for OTG_DOEPTSIZ4_SPEC
impl Writable for OTG_DOEPTSIZ4_SPEC
write(|w| ..)
method takes otg_doeptsiz4::W writer structure
Auto Trait Implementations
impl RefUnwindSafe for OTG_DOEPTSIZ4_SPEC
impl Send for OTG_DOEPTSIZ4_SPEC
impl Sync for OTG_DOEPTSIZ4_SPEC
impl Unpin for OTG_DOEPTSIZ4_SPEC
impl UnwindSafe for OTG_DOEPTSIZ4_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