Struct stm32f1xx_hal::pac::otg_fs_device::doeptsiz0::W
source · pub struct W(_);
Expand description
Register DOEPTSIZ0
writer
Implementations§
source§impl W
impl W
sourcepub fn stupcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ0_SPEC, u8, u8, Unsafe, 2, 29>
pub fn stupcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ0_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30 - SETUP packet count
sourcepub fn pktcnt(
&mut self
) -> BitWriterRaw<'_, u32, DOEPTSIZ0_SPEC, bool, BitM, 19>
pub fn pktcnt(
&mut self
) -> BitWriterRaw<'_, u32, DOEPTSIZ0_SPEC, bool, BitM, 19>
Bit 19 - Packet count
Methods from Deref<Target = W<DOEPTSIZ0_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.