Enum gd32f1x0_hal::pac::i2c0::saddr0::ADDFORMAT_A
source · [−]pub enum ADDFORMAT_A {
ADD7,
ADD10,
}
Expand description
Address mode for the I2C slave
Value on reset: 0
Variants
ADD7
0: 7-bit slave address
ADD10
1: 10-bit slave address
Trait Implementations
sourceimpl Clone for ADDFORMAT_A
impl Clone for ADDFORMAT_A
sourcefn clone(&self) -> ADDFORMAT_A
fn clone(&self) -> ADDFORMAT_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 ADDFORMAT_A
impl Debug for ADDFORMAT_A
sourceimpl PartialEq<ADDFORMAT_A> for ADDFORMAT_A
impl PartialEq<ADDFORMAT_A> for ADDFORMAT_A
impl Copy for ADDFORMAT_A
impl StructuralPartialEq for ADDFORMAT_A
Auto Trait Implementations
impl RefUnwindSafe for ADDFORMAT_A
impl Send for ADDFORMAT_A
impl Sync for ADDFORMAT_A
impl Unpin for ADDFORMAT_A
impl UnwindSafe for ADDFORMAT_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