pub struct Status {
pub busy: bool,
pub master_mode: bool,
pub receiving: bool,
pub general_call: bool,
pub arbitration_lost: bool,
pub bus_error: bool,
}Expand description
Represents the status of the I2C peripheral.
Fields§
§busy: boolBusy flag
master_mode: boolMode: false=Slave, true=Master
receiving: boolDirection: false=Transmitter, true=Receiver
general_call: boolGeneral Call indication
arbitration_lost: boolMaster lost arbitration
bus_error: boolBus error detected
Trait Implementations§
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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