#[repr(transparent)]pub struct Wirero(pub u32);Expand description
Virtual Wire Host-to-MCU
Tuple Fields§
§0: u32Implementations§
Source§impl Wirero
impl Wirero
Sourcepub const fn set_slp_s3n(&mut self, val: bool)
pub const fn set_slp_s3n(&mut self, val: bool)
Sleep State 3
Sourcepub const fn set_slp_s4n(&mut self, val: bool)
pub const fn set_slp_s4n(&mut self, val: bool)
Sleep State 4
Sourcepub const fn set_slp_s5n(&mut self, val: bool)
pub const fn set_slp_s5n(&mut self, val: bool)
Sleep State 5
Sourcepub const fn set_sus_stat(&mut self, val: bool)
pub const fn set_sus_stat(&mut self, val: bool)
Suspend Status
Sourcepub const fn set_pltrstn(&mut self, val: bool)
pub const fn set_pltrstn(&mut self, val: bool)
Reset Request
Sourcepub const fn oob_rst_warn(&self) -> bool
pub const fn oob_rst_warn(&self) -> bool
Out-Of-Band Reset Warning
Sourcepub const fn set_oob_rst_warn(&mut self, val: bool)
pub const fn set_oob_rst_warn(&mut self, val: bool)
Out-Of-Band Reset Warning
Sourcepub const fn host_rst_warn(&self) -> bool
pub const fn host_rst_warn(&self) -> bool
Host Reset Warning
Sourcepub const fn set_host_rst_warn(&mut self, val: bool)
pub const fn set_host_rst_warn(&mut self, val: bool)
Host Reset Warning
Sourcepub const fn set_sus_warn(&mut self, val: bool)
pub const fn set_sus_warn(&mut self, val: bool)
Suspend Warning
Sourcepub const fn sus_pwrdn_ackn(&self) -> bool
pub const fn sus_pwrdn_ackn(&self) -> bool
Suspend Power Well Acknowledge
Sourcepub const fn set_sus_pwrdn_ackn(&mut self, val: bool)
pub const fn set_sus_pwrdn_ackn(&mut self, val: bool)
Suspend Power Well Acknowledge
Sourcepub const fn set_slp_an(&mut self, val: bool)
pub const fn set_slp_an(&mut self, val: bool)
Sleep AN
Sourcepub const fn set_slp_lan(&mut self, val: bool)
pub const fn set_slp_lan(&mut self, val: bool)
Wired LAN Sleep
Sourcepub const fn set_slp_wlan(&mut self, val: bool)
pub const fn set_slp_wlan(&mut self, val: bool)
Wireless LAN Sleep
Sourcepub const fn set_host_c10n(&mut self, val: bool)
pub const fn set_host_c10n(&mut self, val: bool)
Host Entering Deep Power Down C10 State
Trait Implementations§
impl Copy for Wirero
impl Eq for Wirero
impl StructuralPartialEq for Wirero
Auto Trait Implementations§
impl Freeze for Wirero
impl RefUnwindSafe for Wirero
impl Send for Wirero
impl Sync for Wirero
impl Unpin for Wirero
impl UnwindSafe for Wirero
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more