Enum efr32xg12p::i2c0::state::STATER
[−]
[src]
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]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_idle(&self) -> bool
[src]
Checks if the value of the field is IDLE
fn is_wait(&self) -> bool
[src]
Checks if the value of the field is WAIT
fn is_start(&self) -> bool
[src]
Checks if the value of the field is START
fn is_addr(&self) -> bool
[src]
Checks if the value of the field is ADDR
fn is_addrack(&self) -> bool
[src]
Checks if the value of the field is ADDRACK
fn is_data(&self) -> bool
[src]
Checks if the value of the field is DATA
fn is_dataack(&self) -> bool
[src]
Checks if the value of the field is DATAACK
Trait Implementations
impl Clone for STATER
[src]
fn clone(&self) -> STATER
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more