pub enum I2cStatus {
Error = 0,
Ok = 1,
Complete = 2,
InProgress = 16,
Timeout = 32,
ChecksumError = 48,
DeviceNotFound = 64,
PacketTooLarge = 80,
}Expand description
I2C status codes - unified across PoKeys ecosystem
Variants§
Error = 0
Ok = 1
Complete = 2
InProgress = 16
Timeout = 32
ChecksumError = 48
DeviceNotFound = 64
PacketTooLarge = 80
Trait Implementations§
impl Copy for I2cStatus
impl Eq for I2cStatus
impl StructuralPartialEq for I2cStatus
Auto Trait Implementations§
impl Freeze for I2cStatus
impl RefUnwindSafe for I2cStatus
impl Send for I2cStatus
impl Sync for I2cStatus
impl Unpin for I2cStatus
impl UnsafeUnpin for I2cStatus
impl UnwindSafe for I2cStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.