#[repr(transparent)]pub struct SmwCmdWait(pub u32);Expand description
SMW Command and Wait Register
Tuple Fields§
§0: u32Implementations§
Source§impl SmwCmdWait
impl SmwCmdWait
Sourcepub const fn set_wait_en(&mut self, val: WaitEn)
pub const fn set_wait_en(&mut self, val: WaitEn)
SMW Wait Enable
Sourcepub const fn wait_auto_set(&self) -> bool
pub const fn wait_auto_set(&self) -> bool
SMW Wait Auto Set
Sourcepub const fn set_wait_auto_set(&mut self, val: bool)
pub const fn set_wait_auto_set(&mut self, val: bool)
SMW Wait Auto Set
Trait Implementations§
Source§impl Clone for SmwCmdWait
impl Clone for SmwCmdWait
Source§fn clone(&self) -> SmwCmdWait
fn clone(&self) -> SmwCmdWait
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmwCmdWait
impl Debug for SmwCmdWait
Source§impl Default for SmwCmdWait
impl Default for SmwCmdWait
Source§fn default() -> SmwCmdWait
fn default() -> SmwCmdWait
Returns the “default value” for a type. Read more
Source§impl PartialEq for SmwCmdWait
impl PartialEq for SmwCmdWait
impl Copy for SmwCmdWait
impl Eq for SmwCmdWait
impl StructuralPartialEq for SmwCmdWait
Auto Trait Implementations§
impl Freeze for SmwCmdWait
impl RefUnwindSafe for SmwCmdWait
impl Send for SmwCmdWait
impl Sync for SmwCmdWait
impl Unpin for SmwCmdWait
impl UnwindSafe for SmwCmdWait
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