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

pub enum SLVIDXR {
    SLAVE_ADDRESS_0_WAS_,
    SLAVE_ADDRESS_1_WAS_,
    SLAVE_ADDRESS_2_WAS_,
    SLAVE_ADDRESS_3_WAS_,
}

Possible values of the field SLVIDX

Variants

SLAVE_ADDRESS_0_WAS_

Slave address 0 was matched.

SLAVE_ADDRESS_1_WAS_

Slave address 1 was matched.

SLAVE_ADDRESS_2_WAS_

Slave address 2 was matched.

SLAVE_ADDRESS_3_WAS_

Slave address 3 was matched.

Methods

impl SLVIDXR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is SLAVE_ADDRESS_0_WAS_

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

Checks if the value of the field is SLAVE_ADDRESS_1_WAS_

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

Checks if the value of the field is SLAVE_ADDRESS_2_WAS_

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

Checks if the value of the field is SLAVE_ADDRESS_3_WAS_

Trait Implementations

impl PartialEq<SLVIDXR> for SLVIDXR[src]

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

This method tests for !=.

impl Debug for SLVIDXR[src]

impl Copy for SLVIDXR[src]

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

impl Sync for SLVIDXR

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