Enum efm32gg11b::i2c1::ctrl::CLTO_A[][src]

#[repr(u8)]
pub enum CLTO_A {
    OFF,
    _40PCC,
    _80PCC,
    _160PCC,
    _320PCC,
    _1024PCC,
}
Expand description

Clock Low Timeout

Value on reset: 0

Variants

OFF

0: Timeout disabled

_40PCC

1: Timeout after 40 prescaled clock cycles. In standard mode at 100 kHz, this results in a 50us timeout.

_80PCC

2: Timeout after 80 prescaled clock cycles. In standard mode at 100 kHz, this results in a 100us timeout.

_160PCC

3: Timeout after 160 prescaled clock cycles. In standard mode at 100 kHz, this results in a 200us timeout.

_320PCC

4: Timeout after 320 prescaled clock cycles. In standard mode at 100 kHz, this results in a 400us timeout.

_1024PCC

5: Timeout after 1024 prescaled clock cycles. In standard mode at 100 kHz, this results in a 1280us timeout.

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.

Should always be Self

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.