Enum stm32_hal2::pac::i2c1::cr1::NOSTRETCH_A
source · pub enum NOSTRETCH_A {
Enabled = 0,
Disabled = 1,
}
Expand description
Clock stretching disable This bit is used to disable clock stretching in slave mode. It must be kept cleared in master mode. Note: This bit can only be programmed when the I2C is disabled (PE = 0).
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for NOSTRETCH_A
impl Clone for NOSTRETCH_A
source§fn clone(&self) -> NOSTRETCH_A
fn clone(&self) -> NOSTRETCH_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NOSTRETCH_A
impl Debug for NOSTRETCH_A
source§impl PartialEq for NOSTRETCH_A
impl PartialEq for NOSTRETCH_A
source§fn eq(&self, other: &NOSTRETCH_A) -> bool
fn eq(&self, other: &NOSTRETCH_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NOSTRETCH_A
impl StructuralPartialEq for NOSTRETCH_A
Auto Trait Implementations§
impl Freeze for NOSTRETCH_A
impl RefUnwindSafe for NOSTRETCH_A
impl Send for NOSTRETCH_A
impl Sync for NOSTRETCH_A
impl Unpin for NOSTRETCH_A
impl UnwindSafe for NOSTRETCH_A
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