pub enum Addformat {
Add7 = 0,
Add10 = 1,
}
Expand description
Address mode for the I2C slave
Value on reset: 0
Variants§
Add7 = 0
0: 7-bit slave address (note that you’ll need to shift the address by 1b)
Add10 = 1
1: 10-bit slave address
Trait Implementations§
source§impl PartialEq for Addformat
impl PartialEq for Addformat
impl Copy for Addformat
impl Eq for Addformat
impl StructuralPartialEq for Addformat
Auto Trait Implementations§
impl Freeze for Addformat
impl RefUnwindSafe for Addformat
impl Send for Addformat
impl Sync for Addformat
impl Unpin for Addformat
impl UnwindSafe for Addformat
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