pub enum STARTR {
NoStart = 0,
Start = 1,
}Expand description
Start generation This bit is set by software, and cleared by hardware after the Start followed by the address sequence is sent, by an arbitration loss, by an address matched in slave mode, by a timeout error detection, or when PE = 0. If the I2C is already in master mode with AUTOEND = 0, setting this bit generates a Repeated Start condition when RELOAD=0, after the end of the NBYTES transfer. Otherwise setting this bit generates a START condition once the bus is free. Note: Writing ‘0’ to this bit has no effect. The START bit can be set even if the bus is BUSY or I2C is in slave mode. This bit has no effect when RELOAD is set.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for STARTR
impl Eq for STARTR
impl StructuralPartialEq for STARTR
Auto Trait Implementations§
impl Freeze for STARTR
impl RefUnwindSafe for STARTR
impl Send for STARTR
impl Sync for STARTR
impl Unpin for STARTR
impl UnwindSafe for STARTR
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