[][src]Enum efr32xg1::i2c0::ctrl::CLTOR

pub enum CLTOR {
    OFF,
    _40PCC,
    _80PCC,
    _160PCC,
    _320PCC,
    _1024PCC,
    _Reserved(u8),
}

Possible values of the field CLTO

Variants

OFF

Timeout disabled

_40PCC

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

_80PCC

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

_160PCC

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

_320PCC

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

_1024PCC

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

_Reserved(u8)

Reserved

Methods

impl CLTOR
[src]

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

Value of the field as raw bits

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

Checks if the value of the field is OFF

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

Checks if the value of the field is _40PCC

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

Checks if the value of the field is _80PCC

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

Checks if the value of the field is _160PCC

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

Checks if the value of the field is _320PCC

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

Checks if the value of the field is _1024PCC

Trait Implementations

impl Copy for CLTOR
[src]

impl PartialEq<CLTOR> for CLTOR
[src]

impl Clone for CLTOR
[src]

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

Performs copy-assignment from source. Read more

impl Debug for CLTOR
[src]

Auto Trait Implementations

impl Send for CLTOR

impl Sync for CLTOR

Blanket Implementations

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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