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§
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 more