pub struct W(_);
Expand description
Register PORTSC1
writer
Implementations
sourceimpl W
impl W
sourcepub fn ccs(&mut self) -> CCS_W<'_>
pub fn ccs(&mut self) -> CCS_W<'_>
Bit 0 - Current Connect Status: Logic 1 indicates a device is present on the port.
sourcepub fn csc(&mut self) -> CSC_W<'_>
pub fn csc(&mut self) -> CSC_W<'_>
Bit 1 - Connect Status Change: Logic 1 means that the value of CCS has changed.
sourcepub fn pedc(&mut self) -> PEDC_W<'_>
pub fn pedc(&mut self) -> PEDC_W<'_>
Bit 3 - Port Enabled/Disabled Change: Logic 1 means that the value of PED has changed.
sourcepub fn oca(&mut self) -> OCA_W<'_>
pub fn oca(&mut self) -> OCA_W<'_>
Bit 4 - Over-current active: Logic 1 means that this port has an over-current condition.
sourcepub fn occ(&mut self) -> OCC_W<'_>
pub fn occ(&mut self) -> OCC_W<'_>
Bit 5 - Over-current change: Logic 1 means that the value of OCA has changed.
sourcepub fn fpr(&mut self) -> FPR_W<'_>
pub fn fpr(&mut self) -> FPR_W<'_>
Bit 6 - Force Port Resume: Logic 1 means resume (K-state) detected or driven on the port.
sourcepub fn susp(&mut self) -> SUSP_W<'_>
pub fn susp(&mut self) -> SUSP_W<'_>
Bit 7 - Suspend: Logic 1 means port is in the suspend state.
sourcepub fn pr(&mut self) -> PR_W<'_>
pub fn pr(&mut self) -> PR_W<'_>
Bit 8 - Port Reset: Logic 1 means the port is in the reset state.
sourcepub fn pp(&mut self) -> PP_W<'_>
pub fn pp(&mut self) -> PP_W<'_>
Bit 12 - Port Power: The function of this bit depends on the value of the Port Power Control (PPC) bit in the HCSPARAMS register.
sourcepub fn pic(&mut self) -> PIC_W<'_>
pub fn pic(&mut self) -> PIC_W<'_>
Bits 14:15 - Port Indicator Control : Writing to this field has no effect if the P_INDICATOR bit in the HCSPARAMS register is logic 0.
sourcepub fn ptc(&mut self) -> PTC_W<'_>
pub fn ptc(&mut self) -> PTC_W<'_>
Bits 16:19 - Port Test Control: A non-zero value indicates that the port is operating in the test mode as indicated by the value.
sourcepub fn pspd(&mut self) -> PSPD_W<'_>
pub fn pspd(&mut self) -> PSPD_W<'_>
Bits 20:21 - Port Speed: 00b: Low-speed 01b: Full-speed 10b: High-speed 11b: Reserved.
Methods from Deref<Target = W<PORTSC1_SPEC>>
Trait Implementations
sourceimpl From<W<PORTSC1_SPEC>> for W
impl From<W<PORTSC1_SPEC>> for W
sourcefn from(writer: W<PORTSC1_SPEC>) -> Self
fn from(writer: W<PORTSC1_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