[][src]Enum lpc54606_pac::i2c0::msttime::MSTSCLHIGH_A

#[repr(u8)]pub enum MSTSCLHIGH_A {
    CLOCKS_2,
    CLOCKS_3,
    CLOCKS_4,
    CLOCKS_5,
    CLOCKS_6,
    CLOCKS_7,
    CLOCKS_8,
    CLOCKS_9,
}

Master SCL High time. Specifies the minimum high time that will be asserted by this master on SCL. Other masters in a multi-master system could shorten this time. This corresponds to the parameter tHIGH in the I2C bus specification. I2C bus specification parameters tSU;STO and tHD;STA have the same values and are also controlled by MSTSCLHIGH.

Value on reset: 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.

Trait Implementations

impl Clone for MSTSCLHIGH_A[src]

impl Copy for MSTSCLHIGH_A[src]

impl Debug for MSTSCLHIGH_A[src]

impl From<MSTSCLHIGH_A> for u8[src]

impl PartialEq<MSTSCLHIGH_A> for MSTSCLHIGH_A[src]

impl StructuralPartialEq for MSTSCLHIGH_A[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.