Struct stm32_metapac::dsihost::regs::Gpdr
#[repr(transparent)]pub struct Gpdr(pub u32);
Expand description
DSI Host generic payload data register.
Tuple Fields§
§0: u32
Implementations§
§impl Gpdr
impl Gpdr
pub const fn data1(&self) -> u8
pub const fn data1(&self) -> u8
Payload byte 1 This field indicates the byte 1 of the packet payload.
pub fn set_data1(&mut self, val: u8)
pub fn set_data1(&mut self, val: u8)
Payload byte 1 This field indicates the byte 1 of the packet payload.
pub const fn data2(&self) -> u8
pub const fn data2(&self) -> u8
Payload byte 2 This field indicates the byte 2 of the packet payload.
pub fn set_data2(&mut self, val: u8)
pub fn set_data2(&mut self, val: u8)
Payload byte 2 This field indicates the byte 2 of the packet payload.
pub const fn data3(&self) -> u8
pub const fn data3(&self) -> u8
Payload byte 3 This field indicates the byte 3 of the packet payload.
pub fn set_data3(&mut self, val: u8)
pub fn set_data3(&mut self, val: u8)
Payload byte 3 This field indicates the byte 3 of the packet payload.
Trait Implementations§
impl Copy for Gpdr
impl Eq for Gpdr
impl StructuralPartialEq for Gpdr
Auto Trait Implementations§
impl Freeze for Gpdr
impl RefUnwindSafe for Gpdr
impl Send for Gpdr
impl Sync for Gpdr
impl Unpin for Gpdr
impl UnwindSafe for Gpdr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)