Struct rp2040_pac2::spi::regs::Sspdr[][src]

#[repr(transparent)]pub struct Sspdr(pub u32);

Data register, SSPDR on page 3-6

Implementations

impl Sspdr[src]

pub const fn data(&self) -> u16[src]

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.

pub fn set_data(&mut self, val: u16)[src]

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 Clone for Sspdr[src]

impl Copy for Sspdr[src]

impl Default for Sspdr[src]

Auto Trait Implementations

impl Send for Sspdr

impl Sync for Sspdr

impl Unpin for Sspdr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.