#[repr(transparent)]pub struct Imsc(pub u32);
Expand description
Interrupt mask set or clear register, SSPIMSC on page 3-9
Tuple Fields§
§0: u32
Implementations§
source§impl Imsc
impl Imsc
sourcepub const fn rorim(&self) -> bool
pub const fn rorim(&self) -> bool
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.
sourcepub fn set_rorim(&mut self, val: bool)
pub fn set_rorim(&mut self, val: bool)
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.
sourcepub const fn rtim(&self) -> bool
pub const fn rtim(&self) -> bool
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.
sourcepub fn set_rtim(&mut self, val: bool)
pub fn set_rtim(&mut self, val: bool)
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.
sourcepub const fn rxim(&self) -> bool
pub const fn rxim(&self) -> bool
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.
sourcepub fn set_rxim(&mut self, val: bool)
pub fn set_rxim(&mut self, val: bool)
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.
Trait Implementations§
impl Copy for Imsc
impl Eq for Imsc
impl StructuralPartialEq for Imsc
Auto Trait Implementations§
impl Freeze for Imsc
impl RefUnwindSafe for Imsc
impl Send for Imsc
impl Sync for Imsc
impl Unpin for Imsc
impl UnwindSafe for Imsc
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
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)
clone_to_uninit
)