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

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

Interrupt mask set or clear register, SSPIMSC on page 3-9

Implementations

impl Sspimsc[src]

pub const fn txim(&self) -> bool[src]

Transmit FIFO interrupt mask: 0 Transmit FIFO half empty or less condition interrupt is masked. 1 Transmit FIFO half empty or less condition interrupt is not masked.

pub fn set_txim(&mut self, val: bool)[src]

Transmit FIFO interrupt mask: 0 Transmit FIFO half empty or less condition interrupt is masked. 1 Transmit FIFO half empty or less condition interrupt is not masked.

pub const fn rxim(&self) -> bool[src]

Receive FIFO interrupt mask: 0 Receive FIFO half full or less condition interrupt is masked. 1 Receive FIFO half full or less condition interrupt is not masked.

pub fn set_rxim(&mut self, val: bool)[src]

Receive FIFO interrupt mask: 0 Receive FIFO half full or less condition interrupt is masked. 1 Receive FIFO half full or less condition interrupt is not masked.

pub const fn rtim(&self) -> bool[src]

Receive timeout interrupt mask: 0 Receive FIFO not empty and no read prior to timeout period interrupt is masked. 1 Receive FIFO not empty and no read prior to timeout period interrupt is not masked.

pub fn set_rtim(&mut self, val: bool)[src]

Receive timeout interrupt mask: 0 Receive FIFO not empty and no read prior to timeout period interrupt is masked. 1 Receive FIFO not empty and no read prior to timeout period interrupt is not masked.

pub const fn rorim(&self) -> bool[src]

Receive overrun interrupt mask: 0 Receive FIFO written to while full condition interrupt is masked. 1 Receive FIFO written to while full condition interrupt is not masked.

pub fn set_rorim(&mut self, val: bool)[src]

Receive overrun interrupt mask: 0 Receive FIFO written to while full condition interrupt is masked. 1 Receive FIFO written to while full condition interrupt is not masked.

Trait Implementations

impl Clone for Sspimsc[src]

impl Copy for Sspimsc[src]

impl Default for Sspimsc[src]

Auto Trait Implementations

impl Send for Sspimsc

impl Sync for Sspimsc

impl Unpin for Sspimsc

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.