Enum gd32f1x0_hal::pac::dbg::ctl0::I2C1_HOLD_A
source · [−]pub enum I2C1_HOLD_A {
CONTINUE,
STOP,
}
Expand description
I2C0 hold register
Value on reset: 0
Variants
CONTINUE
0: Continue running I2C as usual
STOP
1: Hold the I2C timeout for debug when the core is halted
Trait Implementations
sourceimpl Clone for I2C0_HOLD_A
impl Clone for I2C0_HOLD_A
sourcefn clone(&self) -> I2C0_HOLD_A
fn clone(&self) -> I2C0_HOLD_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for I2C0_HOLD_A
impl Debug for I2C0_HOLD_A
sourceimpl PartialEq<I2C0_HOLD_A> for I2C0_HOLD_A
impl PartialEq<I2C0_HOLD_A> for I2C0_HOLD_A
impl Copy for I2C0_HOLD_A
impl StructuralPartialEq for I2C0_HOLD_A
Auto Trait Implementations
impl RefUnwindSafe for I2C0_HOLD_A
impl Send for I2C0_HOLD_A
impl Sync for I2C0_HOLD_A
impl Unpin for I2C0_HOLD_A
impl UnwindSafe for I2C0_HOLD_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more