Struct stm32f4xx_hal::pac::otg_fs_device::dieptsiz3::W
source · pub struct W(/* private fields */);
Expand description
Register DIEPTSIZ3
writer
Implementations§
source§impl W
impl W
sourcepub fn mcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPTSIZ3_SPEC, u8, u8, Unsafe, 2, 29>
pub fn mcnt( &mut self ) -> FieldWriterRaw<'_, u32, DIEPTSIZ3_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30 - Multi count
sourcepub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPTSIZ3_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt( &mut self ) -> FieldWriterRaw<'_, u32, DIEPTSIZ3_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
Methods from Deref<Target = W<DIEPTSIZ3_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more