pub struct W(/* private fields */);
Expand description
Register HPRT
writer
Implementations§
Source§impl W
impl W
Sourcepub fn pcdet(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 1>
pub fn pcdet(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 1>
Bit 1 - Port connect detected
Sourcepub fn penchng(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 3>
pub fn penchng(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 3>
Bit 3 - Port enable/disable change
Sourcepub fn pocchng(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 5>
pub fn pocchng(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 5>
Bit 5 - Port overcurrent change
Sourcepub fn psusp(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 7>
pub fn psusp(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 7>
Bit 7 - Port suspend
Methods from Deref<Target = W<HPRT_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