[][src]Enum samd_dma::BlockAction

pub enum BlockAction {
    NoAct,
    Int,
    Suspend,
    Both,
}

Define what happens when a block transfer completes.

Variants

NoAct

Channel will be disabled if this is the last block transfer.

Int

Block interrupt will be generated, plus the action of NoAct.

Suspend

Channel will be suspended.

Both

Channel will be suspended and block interrupt will be generated.

Trait Implementations

impl Default for BlockAction[src]

fn default() -> Self[src]

Return BlockAction::NoAct

Auto Trait Implementations

impl Send for BlockAction

impl Sync for BlockAction

impl Unpin for BlockAction

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.