#[repr(transparent)]pub struct UsbhsAlphaFieldsetNovemberAlpha(pub u32);Expand description
Port Status & Control.
Tuple Fields§
§0: u32Implementations§
Source§impl UsbhsAlphaFieldsetNovemberAlpha
impl UsbhsAlphaFieldsetNovemberAlpha
Sourcepub const fn ccs(&self) -> bool
pub const fn ccs(&self) -> bool
Current Connect Status. Raw bit values: false (0) = Disable: In Host mode: No device is present. In Device mode: Not attached.; true (1) = Enable: In Host mode: Device is present on port. In Device mode: Attached.
Sourcepub const fn set_ccs(&mut self, val: bool)
pub const fn set_ccs(&mut self, val: bool)
Current Connect Status. Raw bit values: false (0) = Disable: In Host mode: No device is present. In Device mode: Not attached.; true (1) = Enable: In Host mode: Device is present on port. In Device mode: Attached.
Sourcepub const fn csc(&self) -> bool
pub const fn csc(&self) -> bool
Connect Status Change. Raw bit values: false (0) = Disable: No change.; true (1) = Enable: Change in current connect status.
Sourcepub const fn set_csc(&mut self, val: bool)
pub const fn set_csc(&mut self, val: bool)
Connect Status Change. Raw bit values: false (0) = Disable: No change.; true (1) = Enable: Change in current connect status.
Sourcepub const fn pe(&self) -> bool
pub const fn pe(&self) -> bool
Port Enabled/Disabled. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_pe(&mut self, val: bool)
pub const fn set_pe(&mut self, val: bool)
Port Enabled/Disabled. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn pec(&self) -> bool
pub const fn pec(&self) -> bool
Port Enable/Disable Change. Raw bit values: false (0) = Disable: No change.; true (1) = Enable: Port enabled/disabled status has changed.
Sourcepub const fn set_pec(&mut self, val: bool)
pub const fn set_pec(&mut self, val: bool)
Port Enable/Disable Change. Raw bit values: false (0) = Disable: No change.; true (1) = Enable: Port enabled/disabled status has changed.
Sourcepub const fn oca(&self) -> bool
pub const fn oca(&self) -> bool
Over-Current Active. Raw bit values: false (0) = NoOvercurrent: This port does not have an over-current condition.; true (1) = Overcurrent: This port currently has an over-current condition.
Sourcepub const fn set_oca(&mut self, val: bool)
pub const fn set_oca(&mut self, val: bool)
Over-Current Active. Raw bit values: false (0) = NoOvercurrent: This port does not have an over-current condition.; true (1) = Overcurrent: This port currently has an over-current condition.
Sourcepub const fn fpr(&self) -> bool
pub const fn fpr(&self) -> bool
Force Port Resume. Raw bit values: false (0) = Disable: No resume (K-state) detected/driven on port.; true (1) = Enable: Resume detected/driven on port.
Sourcepub const fn set_fpr(&mut self, val: bool)
pub const fn set_fpr(&mut self, val: bool)
Force Port Resume. Raw bit values: false (0) = Disable: No resume (K-state) detected/driven on port.; true (1) = Enable: Resume detected/driven on port.
Sourcepub const fn susp(&self) -> bool
pub const fn susp(&self) -> bool
Suspend. Raw bit values: false (0) = Disable: Port not in suspend state.; true (1) = Enable: Port in suspend state.
Sourcepub const fn set_susp(&mut self, val: bool)
pub const fn set_susp(&mut self, val: bool)
Suspend. Raw bit values: false (0) = Disable: Port not in suspend state.; true (1) = Enable: Port in suspend state.
Sourcepub const fn pr(&self) -> bool
pub const fn pr(&self) -> bool
Port Reset. Raw bit values: false (0) = Disable: Port is not in reset.; true (1) = Enable: Port is in reset.
Sourcepub const fn set_pr(&mut self, val: bool)
pub const fn set_pr(&mut self, val: bool)
Port Reset. Raw bit values: false (0) = Disable: Port is not in reset.; true (1) = Enable: Port is in reset.
Sourcepub const fn ls(&self) -> UsbhsAlphaEnumGolfDelta
pub const fn ls(&self) -> UsbhsAlphaEnumGolfDelta
Line Status.
Sourcepub const fn set_ls(&mut self, val: UsbhsAlphaEnumGolfDelta)
pub const fn set_ls(&mut self, val: UsbhsAlphaEnumGolfDelta)
Line Status.
Sourcepub const fn pic(&self) -> UsbhsAlphaEnumPapaDelta
pub const fn pic(&self) -> UsbhsAlphaEnumPapaDelta
Port Indicator Control.
Sourcepub const fn set_pic(&mut self, val: UsbhsAlphaEnumPapaDelta)
pub const fn set_pic(&mut self, val: UsbhsAlphaEnumPapaDelta)
Port Indicator Control.
Sourcepub const fn ptc(&self) -> UsbhsAlphaEnumTangoDelta
pub const fn ptc(&self) -> UsbhsAlphaEnumTangoDelta
Port Test Control.
Sourcepub const fn set_ptc(&mut self, val: UsbhsAlphaEnumTangoDelta)
pub const fn set_ptc(&mut self, val: UsbhsAlphaEnumTangoDelta)
Port Test Control.
Sourcepub const fn phcd(&self) -> bool
pub const fn phcd(&self) -> bool
PHY Low Power Suspend - Clock Disable (PLPSCD). Raw bit values: false (0) = PhyClkEn: Enable PHY clock.; true (1) = PhyClkDis: Disable PHY clock.
Sourcepub const fn set_phcd(&mut self, val: bool)
pub const fn set_phcd(&mut self, val: bool)
PHY Low Power Suspend - Clock Disable (PLPSCD). Raw bit values: false (0) = PhyClkEn: Enable PHY clock.; true (1) = PhyClkDis: Disable PHY clock.
Sourcepub const fn pfsc(&self) -> bool
pub const fn pfsc(&self) -> bool
Port Force Full Speed Connect. Raw bit values: false (0) = Normal: Normal operation.; true (1) = FullSpeed: Forced to full speed.
Sourcepub const fn set_pfsc(&mut self, val: bool)
pub const fn set_pfsc(&mut self, val: bool)
Port Force Full Speed Connect. Raw bit values: false (0) = Normal: Normal operation.; true (1) = FullSpeed: Forced to full speed.
Sourcepub const fn pspd(&self) -> UsbhsAlphaEnumSierraDelta
pub const fn pspd(&self) -> UsbhsAlphaEnumSierraDelta
Port Speed.
Sourcepub const fn set_pspd(&mut self, val: UsbhsAlphaEnumSierraDelta)
pub const fn set_pspd(&mut self, val: UsbhsAlphaEnumSierraDelta)
Port Speed.
Sourcepub const fn ptw(&self) -> bool
pub const fn ptw(&self) -> bool
Parallel Transceiver Width - Read/Write. Raw bit values: false (0) = Utmi8: Select the 8-bit UTMI interface [60 MHz].; true (1) = Utmi16: Select the 16-bit UTMI interface [30 MHz].
Sourcepub const fn set_ptw(&mut self, val: bool)
pub const fn set_ptw(&mut self, val: bool)
Parallel Transceiver Width - Read/Write. Raw bit values: false (0) = Utmi8: Select the 8-bit UTMI interface [60 MHz].; true (1) = Utmi16: Select the 16-bit UTMI interface [30 MHz].
Sourcepub const fn sts(&self) -> bool
pub const fn sts(&self) -> bool
Serial Transceiver Select. Raw bit values: false (0) = Disable: Parallel Interface signals is selected.; true (1) = Enable: Serial Interface Engine is selected.
Trait Implementations§
Source§impl Clone for UsbhsAlphaFieldsetNovemberAlpha
impl Clone for UsbhsAlphaFieldsetNovemberAlpha
Source§fn clone(&self) -> UsbhsAlphaFieldsetNovemberAlpha
fn clone(&self) -> UsbhsAlphaFieldsetNovemberAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UsbhsAlphaFieldsetNovemberAlpha
impl Default for UsbhsAlphaFieldsetNovemberAlpha
Source§fn default() -> UsbhsAlphaFieldsetNovemberAlpha
fn default() -> UsbhsAlphaFieldsetNovemberAlpha
Source§impl PartialEq for UsbhsAlphaFieldsetNovemberAlpha
impl PartialEq for UsbhsAlphaFieldsetNovemberAlpha
Source§fn eq(&self, other: &UsbhsAlphaFieldsetNovemberAlpha) -> bool
fn eq(&self, other: &UsbhsAlphaFieldsetNovemberAlpha) -> bool
self and other values to be equal, and is used by ==.