[][src]Enum lpc55s6x_pac::i2c0::msttime::MSTSCLHIGHR

pub enum MSTSCLHIGHR {
    CLOCKS_2,
    CLOCKS_3,
    CLOCKS_4,
    CLOCKS_5,
    CLOCKS_6,
    CLOCKS_7,
    CLOCKS_8,
    CLOCKS_9,
}
[]

Possible values of the field MSTSCLHIGH

Variants

CLOCKS_2
[]

2 clocks. Minimum SCL high time is 2 clock of the I2C clock pre-divider.

CLOCKS_3
[]

3 clocks. Minimum SCL high time is 3 clocks of the I2C clock pre-divider .

CLOCKS_4
[]

4 clocks. Minimum SCL high time is 4 clock of the I2C clock pre-divider.

CLOCKS_5
[]

5 clocks. Minimum SCL high time is 5 clock of the I2C clock pre-divider.

CLOCKS_6
[]

6 clocks. Minimum SCL high time is 6 clock of the I2C clock pre-divider.

CLOCKS_7
[]

7 clocks. Minimum SCL high time is 7 clock of the I2C clock pre-divider.

CLOCKS_8
[]

8 clocks. Minimum SCL high time is 8 clock of the I2C clock pre-divider.

CLOCKS_9
[]

9 clocks. Minimum SCL high time is 9 clocks of the I2C clock pre-divider.

Methods

impl MSTSCLHIGHR[src][]

pub fn bits(&self) -> u8[src][]

Value of the field as raw bits

pub fn is_clocks_2(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_2

pub fn is_clocks_3(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_3

pub fn is_clocks_4(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_4

pub fn is_clocks_5(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_5

pub fn is_clocks_6(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_6

pub fn is_clocks_7(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_7

pub fn is_clocks_8(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_8

pub fn is_clocks_9(&self) -> bool[src][]

Checks if the value of the field is CLOCKS_9

Trait Implementations

impl PartialEq<MSTSCLHIGHR> for MSTSCLHIGHR[src][+]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src][]

This method tests for !=.

impl Copy for MSTSCLHIGHR[src]

impl Debug for MSTSCLHIGHR[src][+]

impl Clone for MSTSCLHIGHR[src][+]

fn clone_from(&mut self, source: &Self)1.0.0[src][]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for MSTSCLHIGHR

impl Sync for MSTSCLHIGHR

Blanket Implementations

impl<T> From<T> for T[src][+]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self