Struct stm32_hal2::pac::otg1_hs_device::dcfg::W
source · [−]pub struct W(_);
Expand description
Register DCFG
writer
Implementations
sourceimpl 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 - Nonzero-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
sourcepub fn pfivl(
&mut self
) -> FieldWriterRaw<'_, u32, DCFG_SPEC, u8, u8, Unsafe, 2, 11>
pub fn pfivl(
&mut self
) -> FieldWriterRaw<'_, u32, DCFG_SPEC, u8, u8, Unsafe, 2, 11>
Bits 11:12 - Periodic (micro)frame interval
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more