Struct stm32_metapac::spdifrx::regs::Imr
#[repr(transparent)]pub struct Imr(pub u32);
Expand description
Interrupt mask register
Tuple Fields§
§0: u32
Implementations§
§impl Imr
impl Imr
pub fn set_rxneie(&mut self, val: bool)
pub fn set_rxneie(&mut self, val: bool)
RXNE interrupt enable
pub fn set_csrneie(&mut self, val: bool)
pub fn set_csrneie(&mut self, val: bool)
Control Buffer Ready Interrupt Enable
pub fn set_perrie(&mut self, val: bool)
pub fn set_perrie(&mut self, val: bool)
Parity error interrupt enable
pub fn set_sblkie(&mut self, val: bool)
pub fn set_sblkie(&mut self, val: bool)
Synchronization Block Detected Interrupt Enable
pub fn set_syncdie(&mut self, val: bool)
pub fn set_syncdie(&mut self, val: bool)
Synchronization Done
Trait Implementations§
impl Copy for Imr
impl Eq for Imr
impl StructuralPartialEq for Imr
Auto Trait Implementations§
impl Freeze for Imr
impl RefUnwindSafe for Imr
impl Send for Imr
impl Sync for Imr
impl Unpin for Imr
impl UnwindSafe for Imr
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
)