#[repr(transparent)]pub struct UsbphyAlphaFieldsetGolfAlpha(pub u32);Expand description
Status.
Tuple Fields§
§0: u32Implementations§
Source§impl UsbphyAlphaFieldsetGolfAlpha
impl UsbphyAlphaFieldsetGolfAlpha
Sourcepub const fn ok_status_3v(&self) -> bool
pub const fn ok_status_3v(&self) -> bool
USB 3.3 V and 1.8 V Supply Status. Raw bit values: false (0) = Power31p8Ok: Not powered.; true (1) = Power31p8Bad: Powered.
Sourcepub const fn set_ok_status_3v(&mut self, val: bool)
pub const fn set_ok_status_3v(&mut self, val: bool)
USB 3.3 V and 1.8 V Supply Status. Raw bit values: false (0) = Power31p8Ok: Not powered.; true (1) = Power31p8Bad: Powered.
Sourcepub const fn hostdiscondetect_status(&self) -> bool
pub const fn hostdiscondetect_status(&self) -> bool
Host Disconnect Status. Raw bit values: false (0) = NoDisconnect: Not detected.; true (1) = Disconnect: Detected.
Sourcepub const fn set_hostdiscondetect_status(&mut self, val: bool)
pub const fn set_hostdiscondetect_status(&mut self, val: bool)
Host Disconnect Status. Raw bit values: false (0) = NoDisconnect: Not detected.; true (1) = Disconnect: Detected.
Sourcepub const fn devplugin_status(&self) -> bool
pub const fn devplugin_status(&self) -> bool
Status Indicator for Nonstandard Resistive Plugged-In Detection. Raw bit values: false (0) = NoCable: No attachment detected.; true (1) = CableAttach: Cable attachment detected.
Sourcepub const fn set_devplugin_status(&mut self, val: bool)
pub const fn set_devplugin_status(&mut self, val: bool)
Status Indicator for Nonstandard Resistive Plugged-In Detection. Raw bit values: false (0) = NoCable: No attachment detected.; true (1) = CableAttach: Cable attachment detected.
Sourcepub const fn otgid_status(&self) -> bool
pub const fn otgid_status(&self) -> bool
OTG ID Status. Raw bit values: false (0) = IdHost: Host.; true (1) = IdDevice: Device.
Sourcepub const fn set_otgid_status(&mut self, val: bool)
pub const fn set_otgid_status(&mut self, val: bool)
OTG ID Status. Raw bit values: false (0) = IdHost: Host.; true (1) = IdDevice: Device.
Sourcepub const fn resume_status(&self) -> bool
pub const fn resume_status(&self) -> bool
Resume Status.
Sourcepub const fn set_resume_status(&mut self, val: bool)
pub const fn set_resume_status(&mut self, val: bool)
Resume Status.
Trait Implementations§
Source§impl Clone for UsbphyAlphaFieldsetGolfAlpha
impl Clone for UsbphyAlphaFieldsetGolfAlpha
Source§fn clone(&self) -> UsbphyAlphaFieldsetGolfAlpha
fn clone(&self) -> UsbphyAlphaFieldsetGolfAlpha
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UsbphyAlphaFieldsetGolfAlpha
impl Default for UsbphyAlphaFieldsetGolfAlpha
Source§fn default() -> UsbphyAlphaFieldsetGolfAlpha
fn default() -> UsbphyAlphaFieldsetGolfAlpha
Source§impl PartialEq for UsbphyAlphaFieldsetGolfAlpha
impl PartialEq for UsbphyAlphaFieldsetGolfAlpha
Source§fn eq(&self, other: &UsbphyAlphaFieldsetGolfAlpha) -> bool
fn eq(&self, other: &UsbphyAlphaFieldsetGolfAlpha) -> bool
self and other values to be equal, and is used by ==.