pub enum BusSpeed {
Standard,
Fast,
FastPlus,
High,
}Expand description
Defines the possible bus speeds for I2C communication.
Variants§
Standard
Standard Speed (100kHz)
Fast
Fast Speed (400kHz)
FastPlus
Fast+ Speed (1MHz)
High
High Speed (3.4MHz)
Trait Implementations§
impl Copy for BusSpeed
impl Eq for BusSpeed
impl StructuralPartialEq for BusSpeed
Auto Trait Implementations§
impl Freeze for BusSpeed
impl RefUnwindSafe for BusSpeed
impl Send for BusSpeed
impl Sync for BusSpeed
impl Unpin for BusSpeed
impl UnwindSafe for BusSpeed
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