pub enum Master {
Slave = 0,
Master = 1,
}
Expand description
A flag indicating whether I2C block is in master or slave mode
Value on reset: 0
Variants§
Trait Implementations§
source§impl PartialEq for Master
impl PartialEq for Master
impl Copy for Master
impl Eq for Master
impl StructuralPartialEq for Master
Auto Trait Implementations§
impl Freeze for Master
impl RefUnwindSafe for Master
impl Send for Master
impl Sync for Master
impl Unpin for Master
impl UnwindSafe for Master
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