[][src]Enum lpc81x_pac::iocon::pio0_10::I2CMODER

pub enum I2CMODER {
    STANDARD_MODE,
    STANDARD_IO,
    FAST_MODE_PLUS_I2C,
    RESERVED_,
}

Possible values of the field I2CMODE

Variants

STANDARD_MODE

Standard mode/ Fast-mode I2C.

STANDARD_IO

Standard I/O functionality

FAST_MODE_PLUS_I2C

Fast-mode Plus I2C

RESERVED_

Reserved.

Methods

impl I2CMODER[src]

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

Value of the field as raw bits

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

Checks if the value of the field is STANDARD_MODE

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

Checks if the value of the field is STANDARD_IO

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

Checks if the value of the field is FAST_MODE_PLUS_I2C

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

Checks if the value of the field is RESERVED_

Trait Implementations

impl PartialEq<I2CMODER> for I2CMODER[src]

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

This method tests for !=.

impl Debug for I2CMODER[src]

impl Copy for I2CMODER[src]

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

impl Sync for I2CMODER

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