#[repr(u8)]pub enum Mstsclhigh {
CLOCKS_2 = 0,
CLOCKS_3 = 1,
CLOCKS_4 = 2,
CLOCKS_5 = 3,
CLOCKS_6 = 4,
CLOCKS_7 = 5,
CLOCKS_8 = 6,
CLOCKS_9 = 7,
}Variants§
CLOCKS_2 = 0
2 clocks. Minimum SCL high time is 2 clock of the I2C clock pre-divider.
CLOCKS_3 = 1
3 clocks. Minimum SCL high time is 3 clocks of the I2C clock pre-divider .
CLOCKS_4 = 2
4 clocks. Minimum SCL high time is 4 clock of the I2C clock pre-divider.
CLOCKS_5 = 3
5 clocks. Minimum SCL high time is 5 clock of the I2C clock pre-divider.
CLOCKS_6 = 4
6 clocks. Minimum SCL high time is 6 clock of the I2C clock pre-divider.
CLOCKS_7 = 5
7 clocks. Minimum SCL high time is 7 clock of the I2C clock pre-divider.
CLOCKS_8 = 6
8 clocks. Minimum SCL high time is 8 clock of the I2C clock pre-divider.
CLOCKS_9 = 7
9 clocks. Minimum SCL high time is 9 clocks of the I2C clock pre-divider.
Implementations§
Source§impl Mstsclhigh
impl Mstsclhigh
Trait Implementations§
Source§impl Clone for Mstsclhigh
impl Clone for Mstsclhigh
Source§fn clone(&self) -> Mstsclhigh
fn clone(&self) -> Mstsclhigh
Returns a duplicate 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 moreSource§impl Debug for Mstsclhigh
impl Debug for Mstsclhigh
Source§impl From<Mstsclhigh> for u8
impl From<Mstsclhigh> for u8
Source§fn from(val: Mstsclhigh) -> u8
fn from(val: Mstsclhigh) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Mstsclhigh
impl From<u8> for Mstsclhigh
Source§fn from(val: u8) -> Mstsclhigh
fn from(val: u8) -> Mstsclhigh
Converts to this type from the input type.
Source§impl Ord for Mstsclhigh
impl Ord for Mstsclhigh
Source§fn cmp(&self, other: &Mstsclhigh) -> Ordering
fn cmp(&self, other: &Mstsclhigh) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Mstsclhigh
impl PartialEq for Mstsclhigh
Source§impl PartialOrd for Mstsclhigh
impl PartialOrd for Mstsclhigh
impl Copy for Mstsclhigh
impl Eq for Mstsclhigh
impl StructuralPartialEq for Mstsclhigh
Auto Trait Implementations§
impl Freeze for Mstsclhigh
impl RefUnwindSafe for Mstsclhigh
impl Send for Mstsclhigh
impl Sync for Mstsclhigh
impl Unpin for Mstsclhigh
impl UnwindSafe for Mstsclhigh
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