[][src]Enum lpc55_pac::i2c0::slvctl::AUTOMATCHREAD_A

pub enum AUTOMATCHREAD_A {
    I2C_WRITE,
    I2C_READ,
}

When AUTOACK is set, this bit controls whether it matches a read or write request on the next header with an address matching SLVADR0. Since DMA needs to be configured to match the transfer direction, the direction needs to be specified. This bit allows a direction to be chosen for the next operation.

Value on reset: 0

Variants

I2C_WRITE

0: The expected next operation in Automatic Mode is an I2C write.

I2C_READ

1: The expected next operation in Automatic Mode is an I2C read.

Trait Implementations

impl Clone for AUTOMATCHREAD_A[src]

impl Copy for AUTOMATCHREAD_A[src]

impl Debug for AUTOMATCHREAD_A[src]

impl From<AUTOMATCHREAD_A> for bool[src]

impl PartialEq<AUTOMATCHREAD_A> for AUTOMATCHREAD_A[src]

impl StructuralPartialEq for AUTOMATCHREAD_A[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.