Struct stm32f1xx_hal::pac::otg_fs_device::dieptsiz1::W
source · pub struct W(_);
Expand description
Register DIEPTSIZ1
writer
Implementations§
source§impl W
impl W
sourcepub fn mcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPTSIZ1_SPEC, u8, u8, Unsafe, 2, 29>
pub fn mcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPTSIZ1_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30 - Multi count
sourcepub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPTSIZ1_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPTSIZ1_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
Methods from Deref<Target = W<DIEPTSIZ1_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.