Enum stm32_hal2::i2c::AddressBits
source · [−]#[repr(u8)]
pub enum AddressBits {
B7,
B10,
}
Expand description
Set the number of address bits to 7 or 10. Sets the CR2 register, ADD10 field.
Variants
B7
B10
Trait Implementations
sourceimpl Clone for AddressBits
impl Clone for AddressBits
sourcefn clone(&self) -> AddressBits
fn clone(&self) -> AddressBits
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
impl Copy for AddressBits
Auto Trait Implementations
impl RefUnwindSafe for AddressBits
impl Send for AddressBits
impl Sync for AddressBits
impl Unpin for AddressBits
impl UnwindSafe for AddressBits
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