#[repr(transparent)]pub struct MwmsgSdrControl2(pub u32);Expand description
Controller Write Message Control in SDR mode.
Tuple Fields§
§0: u32Implementations§
Source§impl MwmsgSdrControl2
impl MwmsgSdrControl2
Sourcepub const fn dir(&self) -> bool
pub const fn dir(&self) -> bool
Direction. Raw bit values: false (0) = Write: Write.; true (1) = Read: Read.
Sourcepub const fn set_dir(&mut self, val: bool)
pub const fn set_dir(&mut self, val: bool)
Direction. Raw bit values: false (0) = Write: Write.; true (1) = Read: Read.
Sourcepub const fn end(&self) -> bool
pub const fn end(&self) -> bool
End of SDR Message. Raw bit values: false (0) = NotEnd: Not the end.; true (1) = End: End.
Sourcepub const fn set_end(&mut self, val: bool)
pub const fn set_end(&mut self, val: bool)
End of SDR Message. Raw bit values: false (0) = NotEnd: Not the end.; true (1) = End: End.
Sourcepub const fn i2c(&self) -> bool
pub const fn i2c(&self) -> bool
I2C. Raw bit values: false (0) = I3cmessage: I3C message.; true (1) = I2cmessage: I2C message.
Trait Implementations§
Source§impl Clone for MwmsgSdrControl2
impl Clone for MwmsgSdrControl2
Source§fn clone(&self) -> MwmsgSdrControl2
fn clone(&self) -> MwmsgSdrControl2
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 Default for MwmsgSdrControl2
impl Default for MwmsgSdrControl2
Source§fn default() -> MwmsgSdrControl2
fn default() -> MwmsgSdrControl2
Returns the “default value” for a type. Read more
Source§impl PartialEq for MwmsgSdrControl2
impl PartialEq for MwmsgSdrControl2
impl Copy for MwmsgSdrControl2
impl Eq for MwmsgSdrControl2
impl StructuralPartialEq for MwmsgSdrControl2
Auto Trait Implementations§
impl Freeze for MwmsgSdrControl2
impl RefUnwindSafe for MwmsgSdrControl2
impl Send for MwmsgSdrControl2
impl Sync for MwmsgSdrControl2
impl Unpin for MwmsgSdrControl2
impl UnwindSafe for MwmsgSdrControl2
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