Struct stm32_metapac::i2c::regs::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 StructuralEq for Icr
impl StructuralPartialEq for Icr
Auto Trait Implementationsยง
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