[][src]Enum lpc54606_pac::i2c0::slvctl::AUTOACK_A

pub enum AUTOACK_A {
    NORMAL,
    AUTOMATIC_ACK,
}

Automatic Acknowledge.When this bit is set, it will cause an I2C header which matches SLVADR0 and the direction set by AUTOMATCHREAD to be ACKed immediately; this is used with DMA to allow processing of the data without intervention. If this bit is clear and a header matches SLVADR0, the behavior is controlled by AUTONACK in the SLVADR0 register: allowing NACK or interrupt.

Value on reset: 0

Variants

NORMAL

0: Normal, non-automatic operation. If AUTONACK = 0, an SlvPending interrupt is generated when a matching address is received. If AUTONACK = 1, received addresses are NACKed (ignored).

AUTOMATIC_ACK

1: A header with matching SLVADR0 and matching direction as set by AUTOMATCHREAD will be ACKed immediately, allowing the master to move on to the data bytes. If the address matches SLVADR0, but the direction does not match AUTOMATCHREAD, the behavior will depend on the AUTONACK bit in the SLVADR0 register: if AUTONACK is set, then it will be Nacked; else if AUTONACK is clear, then a SlvPending interrupt is generated.

Trait Implementations

impl Clone for AUTOACK_A[src]

impl Copy for AUTOACK_A[src]

impl Debug for AUTOACK_A[src]

impl From<AUTOACK_A> for bool[src]

impl PartialEq<AUTOACK_A> for AUTOACK_A[src]

impl StructuralPartialEq for AUTOACK_A[src]

Auto Trait Implementations

impl Send for AUTOACK_A

impl Sync for AUTOACK_A

impl Unpin for AUTOACK_A

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> Same<T> for T

type Output = T

Should always be Self

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.