Struct stm32_metapac::crs::regs::Isr
#[repr(transparent)]pub struct Isr(pub u32);
Expand description
interrupt and status register
Tuple Fields§
§0: u32
Implementations§
§impl Isr
impl Isr
pub fn set_syncokf(&mut self, val: bool)
pub fn set_syncokf(&mut self, val: bool)
SYNC event OK flag
pub fn set_syncwarnf(&mut self, val: bool)
pub fn set_syncwarnf(&mut self, val: bool)
SYNC warning flag
pub fn set_esyncf(&mut self, val: bool)
pub fn set_esyncf(&mut self, val: bool)
Expected SYNC flag
pub fn set_syncerr(&mut self, val: bool)
pub fn set_syncerr(&mut self, val: bool)
SYNC error
pub fn set_syncmiss(&mut self, val: bool)
pub fn set_syncmiss(&mut self, val: bool)
SYNC missed
pub fn set_trimovf(&mut self, val: bool)
pub fn set_trimovf(&mut self, val: bool)
Trimming overflow or underflow
Trait Implementations§
impl Copy for Isr
impl Eq for Isr
impl StructuralEq for Isr
impl StructuralPartialEq for Isr
Auto Trait Implementations§
impl RefUnwindSafe for Isr
impl Send for Isr
impl Sync for Isr
impl Unpin for Isr
impl UnwindSafe for Isr
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