#[repr(u8)]pub enum Slvstate {
SLAVE_ADDRESS = 0,
SLAVE_RECEIVE = 1,
SLAVE_TRANSMIT = 2,
_RESERVED_3 = 3,
}Variants§
SLAVE_ADDRESS = 0
Slave address. Address plus R/W received. At least one of the four slave addresses has been matched by hardware.
SLAVE_RECEIVE = 1
Slave receive. Received data is available (Slave Receiver mode).
SLAVE_TRANSMIT = 2
Slave transmit. Data can be transmitted (Slave Transmitter mode).
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Slvstate
impl Ord for Slvstate
Source§impl PartialOrd for Slvstate
impl PartialOrd for Slvstate
impl Copy for Slvstate
impl Eq for Slvstate
impl StructuralPartialEq for Slvstate
Auto Trait Implementations§
impl Freeze for Slvstate
impl RefUnwindSafe for Slvstate
impl Send for Slvstate
impl Sync for Slvstate
impl Unpin for Slvstate
impl UnwindSafe for Slvstate
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