Struct stm32f1xx_hal::pac::otg_fs_device::fs_dcfg::W
source · pub struct W(_);
Expand description
Register FS_DCFG
writer
Implementations§
source§impl W
impl W
sourcepub fn dspd(
&mut self
) -> FieldWriterRaw<'_, u32, FS_DCFG_SPEC, u8, u8, Unsafe, 2, 0>
pub fn dspd(
&mut self
) -> FieldWriterRaw<'_, u32, FS_DCFG_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Device speed
sourcepub fn nzlsohsk(&mut self) -> BitWriterRaw<'_, u32, FS_DCFG_SPEC, bool, BitM, 2>
pub fn nzlsohsk(&mut self) -> BitWriterRaw<'_, u32, FS_DCFG_SPEC, bool, BitM, 2>
Bit 2 - Non-zero-length status OUT handshake
sourcepub fn dad(
&mut self
) -> FieldWriterRaw<'_, u32, FS_DCFG_SPEC, u8, u8, Unsafe, 7, 4>
pub fn dad(
&mut self
) -> FieldWriterRaw<'_, u32, FS_DCFG_SPEC, u8, u8, Unsafe, 7, 4>
Bits 4:10 - Device address
Methods from Deref<Target = W<FS_DCFG_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.