[][src]Enum efm32gg11b820::i2c2::ctrl::BITOR

pub enum BITOR {
    OFF,
    _40PCC,
    _80PCC,
    _160PCC,
}

Possible values of the field BITO

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.

Methods

impl BITOR[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

Trait Implementations

impl Copy for BITOR[src]

impl Debug for BITOR[src]

impl PartialEq<BITOR> for BITOR[src]

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

This method tests for !=.

impl Clone for BITOR[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 BITOR

impl Sync for BITOR

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto 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, 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]

impl<T> Same for T

type Output = T

Should always be Self