Struct Icr
#[repr(transparent)]pub struct Icr(pub u32);
Expand description
Interrupt clear register
Tuple Fields§
§0: u32
Implementations§
§impl Icr
impl Icr
pub fn set_addrcf(&mut self, val: bool)
pub fn set_addrcf(&mut self, val: bool)
Address Matched flag clear
pub fn set_nackcf(&mut self, val: bool)
pub fn set_nackcf(&mut self, val: bool)
Not Acknowledge flag clear
pub fn set_stopcf(&mut self, val: bool)
pub fn set_stopcf(&mut self, val: bool)
Stop detection flag clear
pub fn set_berrcf(&mut self, val: bool)
pub fn set_berrcf(&mut self, val: bool)
Bus error flag clear
pub fn set_arlocf(&mut self, val: bool)
pub fn set_arlocf(&mut self, val: bool)
Arbitration lost flag clear
pub fn set_timoutcf(&mut self, val: bool)
pub fn set_timoutcf(&mut self, val: bool)
Timeout detection flag clear
pub fn set_alertcf(&mut self, val: bool)
pub fn set_alertcf(&mut self, val: bool)
Alert flag clear
Trait Implementations§
impl Copy for Icr
impl Eq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementations§
impl Freeze for Icr
impl RefUnwindSafe for Icr
impl Send for Icr
impl Sync for Icr
impl Unpin for Icr
impl UnwindSafe for Icr
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
)