pub struct W(/* private fields */);
Expand description
Register DCTL
writer
Implementations§
Source§impl W
impl W
Sourcepub fn rwusig(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 0>
pub fn rwusig(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 0>
Bit 0 - Remote wakeup signaling
Sourcepub fn sdis(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 1>
pub fn sdis(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 1>
Bit 1 - Soft disconnect
Sourcepub fn tctl(
&mut self,
) -> FieldWriterRaw<'_, u32, DCTL_SPEC, u8, u8, Unsafe, 3, 4>
pub fn tctl( &mut self, ) -> FieldWriterRaw<'_, u32, DCTL_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6 - Test control
Sourcepub fn sginak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 7>
pub fn sginak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 7>
Bit 7 - Set global IN NAK
Sourcepub fn cginak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 8>
pub fn cginak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 8>
Bit 8 - Clear global IN NAK
Sourcepub fn sgonak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 9>
pub fn sgonak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 9>
Bit 9 - Set global OUT NAK
Sourcepub fn cgonak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 10>
pub fn cgonak(&mut self) -> BitWriterRaw<'_, u32, DCTL_SPEC, bool, BitM, 10>
Bit 10 - Clear global OUT NAK
Methods from Deref<Target = W<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.
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