[−][src]Enum efm32gg11b820::i2c1::state::STATER
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 Debug for STATER
[src]
impl PartialEq<STATER> for STATER
[src]
impl Clone for STATER
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self