pub enum STOP {
NoStop = 0,
Stop = 1,
}
Expand description
Stop generation
Value on reset: 0
Variants§
NoStop = 0
0: No Stop generation
Stop = 1
1: In master mode: stop generation after current byte/start, in slave mode: release SCL and SDA after current byte
Trait Implementations§
impl Copy for STOP
impl Eq for STOP
impl StructuralPartialEq for STOP
Auto Trait Implementations§
impl Freeze for STOP
impl RefUnwindSafe for STOP
impl Send for STOP
impl Sync for STOP
impl Unpin for STOP
impl UnwindSafe for STOP
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