Struct stm32f1xx_hal::pac::otg_fs_host::fs_hctsiz4::W
source · pub struct W(_);
Expand description
Register FS_HCTSIZ4
writer
Implementations§
source§impl W
impl W
sourcepub fn xfrsiz(
&mut self
) -> FieldWriterRaw<'_, u32, FS_HCTSIZ4_SPEC, u32, u32, Unsafe, 19, 0>
pub fn xfrsiz(
&mut self
) -> FieldWriterRaw<'_, u32, FS_HCTSIZ4_SPEC, u32, u32, Unsafe, 19, 0>
Bits 0:18 - Transfer size
sourcepub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, FS_HCTSIZ4_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, FS_HCTSIZ4_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
Methods from Deref<Target = W<FS_HCTSIZ4_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.