pub enum STARTW {
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§
Start = 1
1: Restart/Start generation
Trait Implementations§
impl Copy for STARTW
impl Eq for STARTW
impl StructuralPartialEq for STARTW
Auto Trait Implementations§
impl Freeze for STARTW
impl RefUnwindSafe for STARTW
impl Send for STARTW
impl Sync for STARTW
impl Unpin for STARTW
impl UnwindSafe for STARTW
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