Struct stm32f4xx_hal::pac::otg_fs_device::dcfg::W
source · pub struct W(/* private fields */);
Expand description
Register DCFG
writer
Implementations§
source§impl W
impl W
sourcepub fn dspd(
&mut self
) -> FieldWriterRaw<'_, u32, DCFG_SPEC, u8, u8, Unsafe, 2, 0>
pub fn dspd( &mut self ) -> FieldWriterRaw<'_, u32, DCFG_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Device speed
sourcepub fn nzlsohsk(&mut self) -> BitWriterRaw<'_, u32, DCFG_SPEC, bool, BitM, 2>
pub fn nzlsohsk(&mut self) -> BitWriterRaw<'_, u32, DCFG_SPEC, bool, BitM, 2>
Bit 2 - Non-zero-length status OUT handshake
sourcepub fn dad(
&mut self
) -> FieldWriterRaw<'_, u32, DCFG_SPEC, u8, u8, Unsafe, 7, 4>
pub fn dad( &mut self ) -> FieldWriterRaw<'_, u32, DCFG_SPEC, u8, u8, Unsafe, 7, 4>
Bits 4:10 - Device address
Methods from Deref<Target = W<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.
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more