[][src]Enum lpc54606_pac::i2c0::mstctl::MSTDMA_A

pub enum MSTDMA_A {
    DISABLED,
    ENABLED,
}

Master DMA enable. Data operations of the I2C can be performed with DMA. Protocol type operations such as Start, address, Stop, and address match must always be done with software, typically via an interrupt. Address acknowledgement must also be done by software except when the I2C is configured to be HSCAPABLE (and address acknowledgement is handled entirely by hardware) or when Automatic Operation is enabled. When a DMA data transfer is complete, MSTDMA must be cleared prior to beginning the next operation, typically a Start or Stop.This bit is read/write.

Value on reset: 0

Variants

DISABLED

0: Disable. No DMA requests are generated for master operation.

ENABLED

1: Enable. A DMA request is generated for I2C master data operations. When this I2C master is generating Acknowledge bits in Master Receiver mode, the acknowledge is generated automatically.

Trait Implementations

impl Clone for MSTDMA_A[src]

impl Copy for MSTDMA_A[src]

impl Debug for MSTDMA_A[src]

impl From<MSTDMA_A> for bool[src]

impl PartialEq<MSTDMA_A> for MSTDMA_A[src]

impl StructuralPartialEq for MSTDMA_A[src]

Auto Trait Implementations

impl Send for MSTDMA_A

impl Sync for MSTDMA_A

impl Unpin for MSTDMA_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.