pub struct Interrupts {
pub master_pending: bool,
pub master_arbitration_loss: bool,
pub master_start_stop_error: bool,
pub slave_pending: bool,
pub slave_not_stretching: bool,
pub slave_deselect: bool,
pub monitor_ready: bool,
pub monitor_overrun: bool,
pub monitor_idle: bool,
pub event_timeout: bool,
pub scl_timeout: bool,
}Expand description
Used to enable or disable I2C interrupts
Fields§
§master_pending: boolMaster Pending
master_arbitration_loss: boolMaster Arbitration Loss
master_start_stop_error: boolMaster Start/Stop Error
slave_pending: boolSlave Pending
slave_not_stretching: boolSlave Not Stretching
slave_deselect: boolSlave Deselect
monitor_ready: boolMonitor Ready
monitor_overrun: boolMonitor Overrun
monitor_idle: boolMonitor Idle
event_timeout: boolEvent Timeout
scl_timeout: boolSCL Timeout
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interrupts
impl RefUnwindSafe for Interrupts
impl Send for Interrupts
impl Sync for Interrupts
impl Unpin for Interrupts
impl UnwindSafe for Interrupts
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