pub struct W(/* private fields */);
Expand description
Register GOTGCTL
writer
Implementations§
Source§impl W
impl W
Sourcepub fn srq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 1>
pub fn srq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 1>
Bit 1 - Session request
Sourcepub fn hnprq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 9>
pub fn hnprq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 9>
Bit 9 - HNP request
Sourcepub fn hshnpen(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 10>
pub fn hshnpen(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 10>
Bit 10 - Host set HNP enable
Sourcepub fn dhnpen(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 11>
pub fn dhnpen(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 11>
Bit 11 - Device HNP enabled
Methods from Deref<Target = W<GOTGCTL_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