#[repr(transparent)]pub struct Dr(pub u32);
Expand description
Data register, SSPDR on page 3-6
Tuple Fields§
§0: u32
Implementations§
source§impl Dr
impl Dr
sourcepub const fn data(&self) -> u16
pub const fn data(&self) -> u16
Transmit/Receive FIFO: Read Receive FIFO. Write Transmit FIFO. You must right-justify data when the PrimeCell SSP is programmed for a data size that is less than 16 bits. Unused bits at the top are ignored by transmit logic. The receive logic automatically right-justifies.
sourcepub fn set_data(&mut self, val: u16)
pub fn set_data(&mut self, val: u16)
Transmit/Receive FIFO: Read Receive FIFO. Write Transmit FIFO. You must right-justify data when the PrimeCell SSP is programmed for a data size that is less than 16 bits. Unused bits at the top are ignored by transmit logic. The receive logic automatically right-justifies.
Trait Implementations§
impl Copy for Dr
impl Eq for Dr
impl StructuralPartialEq for Dr
Auto Trait Implementations§
impl Freeze for Dr
impl RefUnwindSafe for Dr
impl Send for Dr
impl Sync for Dr
impl Unpin for Dr
impl UnwindSafe for Dr
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
)