pub struct W(_);
Expand description
Register HCRHSTATUS
writer
Implementations
sourceimpl W
impl W
sourcepub fn lps(&mut self) -> LPS_W<'_>
pub fn lps(&mut self) -> LPS_W<'_>
Bit 0 - (read) LocalPowerStatus The Root Hub does not support the local power status feature; thus, this bit is always read as 0.
sourcepub fn oci(&mut self) -> OCI_W<'_>
pub fn oci(&mut self) -> OCI_W<'_>
Bit 1 - OverCurrentIndicator This bit reports overcurrent conditions when the global reporting is implemented.
sourcepub fn drwe(&mut self) -> DRWE_W<'_>
pub fn drwe(&mut self) -> DRWE_W<'_>
Bit 15 - (read) DeviceRemoteWakeupEnable This bit enables a ConnectStatusChange bit as a resume event, causing a USBSUSPEND to USBRESUME state transition and setting the ResumeDetected interrupt.
sourcepub fn lpsc(&mut self) -> LPSC_W<'_>
pub fn lpsc(&mut self) -> LPSC_W<'_>
Bit 16 - (read) LocalPowerStatusChange The root hub does not support the local power status feature.
sourcepub fn ocic(&mut self) -> OCIC_W<'_>
pub fn ocic(&mut self) -> OCIC_W<'_>
Bit 17 - OverCurrentIndicatorChange This bit is set by hardware when a change has occurred to the OCI field of this register.
Methods from Deref<Target = W<HCRHSTATUS_SPEC>>
Trait Implementations
sourceimpl From<W<HCRHSTATUS_SPEC>> for W
impl From<W<HCRHSTATUS_SPEC>> for W
sourcefn from(writer: W<HCRHSTATUS_SPEC>) -> Self
fn from(writer: W<HCRHSTATUS_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more