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

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

Possible values of the field DMA1MODE

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 + 1 bytes + 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 + 1 bytes + necessary zero padding is read. Bytewise DMA. Zero padding is automatically added when writing.

Methods

impl DMA1MODER
[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 Debug for DMA1MODER
[src]

impl PartialEq<DMA1MODER> for DMA1MODER
[src]

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

This method tests for !=.

impl Copy for DMA1MODER
[src]

impl Clone for DMA1MODER
[src]

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

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for DMA1MODER

impl Sync for DMA1MODER

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]