pub enum Flag {
Show 13 variants
Started,
Busy,
AddressSent,
ByteTransferFinished,
Address10Sent,
RxNotEmpty,
TxEmpty,
MasterSlave,
Transmitter,
GeneralCall,
SMBusDefault,
SMBusHost,
Dual,
}Variants§
Started
Start condition generated
Busy
Busy
AddressSent
Address is sent in master mode or received and matches in slave mode
ByteTransferFinished
Byte transfer finished
Address10Sent
10-bit header sent
RxNotEmpty
Data register not empty
TxEmpty
Data register empty
MasterSlave
SMBus alert
Transmitter
Master/Slave
GeneralCall
General call address (Slave mode)
SMBusDefault
SMBus device default address (Slave mode)
SMBusHost
SMBus host header (Slave mode)
Dual
Dual flag (Slave mode)
Trait Implementations§
impl Copy for Flag
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)