Struct stm32f1xx_hal::pac::otg_fs_device::fs_dctl::W
source · pub struct W(_);
Expand description
Register FS_DCTL
writer
Implementations§
source§impl W
impl W
sourcepub fn rwusig(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 0>
pub fn rwusig(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 0>
Bit 0 - Remote wakeup signaling
sourcepub fn sdis(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 1>
pub fn sdis(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 1>
Bit 1 - Soft disconnect
sourcepub fn tctl(
&mut self
) -> FieldWriterRaw<'_, u32, FS_DCTL_SPEC, u8, u8, Unsafe, 3, 4>
pub fn tctl(
&mut self
) -> FieldWriterRaw<'_, u32, FS_DCTL_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6 - Test control
sourcepub fn sginak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 7>
pub fn sginak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 7>
Bit 7 - Set global IN NAK
sourcepub fn cginak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 8>
pub fn cginak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 8>
Bit 8 - Clear global IN NAK
sourcepub fn sgonak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 9>
pub fn sgonak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 9>
Bit 9 - Set global OUT NAK
sourcepub fn cgonak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 10>
pub fn cgonak(&mut self) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 10>
Bit 10 - Clear global OUT NAK
sourcepub fn poprgdne(
&mut self
) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 11>
pub fn poprgdne(
&mut self
) -> BitWriterRaw<'_, u32, FS_DCTL_SPEC, bool, BitM, 11>
Bit 11 - Power-on programming done
Methods from Deref<Target = W<FS_DCTL_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.