#[repr(transparent)]pub struct Status(pub u32);Expand description
Status. F70RM 42.7.6 (text line 104459). Known reset mask 0xfffffffe, known value 0; OK_STATUS_3V reset is unknown. Generated reset_value is a construction default, not a fixed supply status. OTGID_STATUS is shown writable in XML but the RM diagram shows no writable field: access remains RW per the map, and software-write behavior is not inferred.
Tuple Fields§
§0: u32Implementations§
Source§impl Status
impl Status
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. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not powered; 1b - 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. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not powered; 1b - Powered.
Sourcepub const fn hostdiscondetect_status(&self) -> bool
pub const fn hostdiscondetect_status(&self) -> bool
Host Disconnect Status. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not detected; 1b - Detected.
Sourcepub const fn set_hostdiscondetect_status(&mut self, val: bool)
pub const fn set_hostdiscondetect_status(&mut self, val: bool)
Host Disconnect Status. Read-only status/value; writes do not configure this field. Raw encoding: 0b - Not detected; 1b - Detected.
Sourcepub const fn devplugin_status(&self) -> bool
pub const fn devplugin_status(&self) -> bool
Status Indicator for Nonstandard Resistive Plugged-In Detection. Read-only status/value; writes do not configure this field. Raw encoding: 0b - No attachment detected; 1b - 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. Read-only status/value; writes do not configure this field. Raw encoding: 0b - No attachment detected; 1b - Cable attachment detected.
Sourcepub const fn otgid_status(&self) -> bool
pub const fn otgid_status(&self) -> bool
OTG ID Status. Raw encoding: 0b - Host; 1b - 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 encoding: 0b - Host; 1b - Device.
Sourcepub const fn resume_status(&self) -> bool
pub const fn resume_status(&self) -> bool
Resume Status. Read-only status/value; writes do not configure this field.
Sourcepub const fn set_resume_status(&mut self, val: bool)
pub const fn set_resume_status(&mut self, val: bool)
Resume Status. Read-only status/value; writes do not configure this field.