Struct stm32_metapac::spi::regs::Ier
#[repr(transparent)]pub struct Ier(pub u32);
Expand description
Interrupt Enable Register
Tuple Fields§
§0: u32
Implementations§
§impl Ier
impl Ier
pub fn set_txtfie(&mut self, val: bool)
pub fn set_txtfie(&mut self, val: bool)
TXTFIE interrupt enable
pub fn set_crceie(&mut self, val: bool)
pub fn set_crceie(&mut self, val: bool)
CRC Interrupt enable
pub fn set_tifreie(&mut self, val: bool)
pub fn set_tifreie(&mut self, val: bool)
TIFRE interrupt enable
pub fn set_modfie(&mut self, val: bool)
pub fn set_modfie(&mut self, val: bool)
Mode Fault interrupt enable
pub fn set_tserfie(&mut self, val: bool)
pub fn set_tserfie(&mut self, val: bool)
Additional number of transactions reload interrupt enable
Trait Implementations§
impl Copy for Ier
impl Eq for Ier
impl StructuralPartialEq for Ier
Auto Trait Implementations§
impl Freeze for Ier
impl RefUnwindSafe for Ier
impl Send for Ier
impl Sync for Ier
impl Unpin for Ier
impl UnwindSafe for Ier
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
)