[][src]Enum lpc81x_pac::i2c::stat::SLVSTATER

pub enum SLVSTATER {
    RECEIVED_ADDRESS_PL,
    DATA_AVAILABLE_RECE,
    DATA_READY_FOR_TRANS,
    RESERVED_,
}

Possible values of the field SLVSTATE

Variants

RECEIVED_ADDRESS_PL

Received. Address plus R/W received. At least one of the four slave addresses has been matched by hardware.

DATA_AVAILABLE_RECE

Data available. Received data is available (Slave Receiver mode).

DATA_READY_FOR_TRANS

Data ready for transmit. Data can be transmitted (Slave Transmitter mode).

RESERVED_

Reserved.

Methods

impl SLVSTATER[src]

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

Value of the field as raw bits

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

Checks if the value of the field is RECEIVED_ADDRESS_PL

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

Checks if the value of the field is DATA_AVAILABLE_RECE

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

Checks if the value of the field is DATA_READY_FOR_TRANS

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

Checks if the value of the field is RESERVED_

Trait Implementations

impl PartialEq<SLVSTATER> for SLVSTATER[src]

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

This method tests for !=.

impl Debug for SLVSTATER[src]

impl Copy for SLVSTATER[src]

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

impl Sync for SLVSTATER

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self