[][src]Enum efr32xg1::crypto::ctrl::DMA0MODER

pub enum DMA0MODER {
    FULL,
    LENLIMIT,
    FULLBYTE,
    LENLIMITBYTE,
}

Possible values of the field DMA0MODE

Variants

FULL

Target register is fully read/written during every DMA transaction

LENLIMIT

Length Limited. When the current length, i.e. LENGTHA or LENGTHB indicates that there are less bytes available than the register size, only length + necessary zero padding is read. Zero padding is automatically added when writing.

FULLBYTE

Target register is fully read/written during every DMA transaction. Bytewise DMA.

LENLIMITBYTE

Length Limited. When the current length, i.e. LENGTHA or LENGTHB indicates that there are less bytes available than the register size, only length + necessary zero padding is read. Bytewise DMA. Zero padding is automatically added when writing.

Methods

impl DMA0MODER
[src]

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

Value of the field as raw bits

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

Checks if the value of the field is FULL

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

Checks if the value of the field is LENLIMIT

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

Checks if the value of the field is FULLBYTE

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

Checks if the value of the field is LENLIMITBYTE

Trait Implementations

impl Copy for DMA0MODER
[src]

impl PartialEq<DMA0MODER> for DMA0MODER
[src]

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

This method tests for !=.

impl Clone for DMA0MODER
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DMA0MODER
[src]

Auto Trait Implementations

impl Send for DMA0MODER

impl Sync for DMA0MODER

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

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

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

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