Enum stm32h7xx_hal::i2c::Stop
source · pub enum Stop {
Software,
Automatic,
}
Expand description
I2C Stop Configuration
Peripheral options for generating the STOP condition
Variants§
Software
Software end mode: Must write register to generate STOP condition
Automatic
Automatic end mode: A STOP condition is automatically generated once the configured number of bytes have been transferred
Trait Implementations§
source§impl PartialEq for Stop
impl PartialEq for Stop
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