pub struct W(/* private fields */);
Expand description
Register GCCFG
writer
Implementations§
Source§impl W
impl W
Sourcepub fn pwrdwn(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 16>
pub fn pwrdwn(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 16>
Bit 16 - Power down
Sourcepub fn vbusasen(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 18>
pub fn vbusasen(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 18>
Bit 18 - Enable the VBUS sensing device
Sourcepub fn vbusbsen(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 19>
pub fn vbusbsen(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 19>
Bit 19 - Enable the VBUS sensing device
Sourcepub fn sofouten(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 20>
pub fn sofouten(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 20>
Bit 20 - SOF output enable
Sourcepub fn novbussens(
&mut self,
) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 21>
pub fn novbussens( &mut self, ) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 21>
Bit 21 - Vbus sensing disable option
Methods from Deref<Target = W<GCCFG_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