Enum stm32_hal2::i2c::AddressBits
source · #[repr(u8)]pub enum AddressBits {
B7 = 0,
B10 = 1,
}
Expand description
Set the number of address bits to 7 or 10. Sets the CR2 register, ADD10 field.
Variants§
Trait Implementations§
source§impl Clone for AddressBits
impl Clone for AddressBits
source§fn clone(&self) -> AddressBits
fn clone(&self) -> AddressBits
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 moreimpl 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§
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