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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.