[][src]Enum efr32xg1::i2c0::state::STATER

pub enum STATER {
    IDLE,
    WAIT,
    START,
    ADDR,
    ADDRACK,
    DATA,
    DATAACK,
    _Reserved(u8),
}

Possible values of the field STATE

Variants

IDLE

No transmission is being performed.

WAIT

Waiting for idle. Will send a start condition as soon as the bus is idle.

START

Start transmitted or received

ADDR

Address transmitted or received

ADDRACK

Address ack/nack transmitted or received

DATA

Data transmitted or received

DATAACK

Data ack/nack transmitted or received

_Reserved(u8)

Reserved

Methods

impl STATER
[src]

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

Value of the field as raw bits

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

Checks if the value of the field is IDLE

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

Checks if the value of the field is WAIT

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

Checks if the value of the field is START

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

Checks if the value of the field is ADDR

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

Checks if the value of the field is ADDRACK

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

Checks if the value of the field is DATA

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

Checks if the value of the field is DATAACK

Trait Implementations

impl Copy for STATER
[src]

impl PartialEq<STATER> for STATER
[src]

impl Clone for STATER
[src]

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

Performs copy-assignment from source. Read more

impl Debug for STATER
[src]

Auto Trait Implementations

impl Send for STATER

impl Sync for STATER

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]