[][src]Enum lpc55s6x_pac::i2c0::stat::SLVIDXR

pub enum SLVIDXR {
    ADDRESS0,
    ADDRESS1,
    ADDRESS2,
    ADDRESS3,
}
[]

Possible values of the field SLVIDX

Variants

ADDRESS0
[]

Address 0. Slave address 0 was matched.

ADDRESS1
[]

Address 1. Slave address 1 was matched.

ADDRESS2
[]

Address 2. Slave address 2 was matched.

ADDRESS3
[]

Address 3. 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_address0(&self) -> bool[src][]

Checks if the value of the field is ADDRESS0

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

Checks if the value of the field is ADDRESS1

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

Checks if the value of the field is ADDRESS2

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

Checks if the value of the field is ADDRESS3

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 Copy for SLVIDXR[src]

impl Debug 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> From<T> for T[src][+]

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, 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[src]

type Output = T

Should always be Self