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 StructuralEq for Ier
impl StructuralPartialEq for Ier
Auto Trait Implementations§
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