#[repr(transparent)]pub struct Word16(pub u32);Expand description
Message Buffer 6 WORD1 Register
Tuple Fields§
§0: u32Implementations§
Source§impl Word16
impl Word16
Sourcepub const fn data_byte_7(&self) -> u8
pub const fn data_byte_7(&self) -> u8
Data byte 0 of Rx/Tx frame.
Sourcepub const fn set_data_byte_7(&mut self, val: u8)
pub const fn set_data_byte_7(&mut self, val: u8)
Data byte 0 of Rx/Tx frame.
Sourcepub const fn data_byte_6(&self) -> u8
pub const fn data_byte_6(&self) -> u8
Data byte 1 of Rx/Tx frame.
Sourcepub const fn set_data_byte_6(&mut self, val: u8)
pub const fn set_data_byte_6(&mut self, val: u8)
Data byte 1 of Rx/Tx frame.
Sourcepub const fn data_byte_5(&self) -> u8
pub const fn data_byte_5(&self) -> u8
Data byte 2 of Rx/Tx frame.
Sourcepub const fn set_data_byte_5(&mut self, val: u8)
pub const fn set_data_byte_5(&mut self, val: u8)
Data byte 2 of Rx/Tx frame.
Sourcepub const fn data_byte_4(&self) -> u8
pub const fn data_byte_4(&self) -> u8
Data byte 3 of Rx/Tx frame.
Sourcepub const fn set_data_byte_4(&mut self, val: u8)
pub const fn set_data_byte_4(&mut self, val: u8)
Data byte 3 of Rx/Tx frame.
Trait Implementations§
impl Copy for Word16
impl Eq for Word16
impl StructuralPartialEq for Word16
Auto Trait Implementations§
impl Freeze for Word16
impl RefUnwindSafe for Word16
impl Send for Word16
impl Sync for Word16
impl Unpin for Word16
impl UnwindSafe for Word16
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