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 StructuralPartialEq for Isr
Auto Trait Implementations§
impl Freeze for Isr
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
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
)