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 i2cpaden(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 17>
pub fn i2cpaden(&mut self) -> BitWriterRaw<'_, u32, GCCFG_SPEC, bool, BitM, 17>
Bit 17 - Enable I2C bus connection for the external I2C PHY interface
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§
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