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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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