[][src]Enum lpc55s6x_pac::dma0::channel::xfercfg::SRCINCR

pub enum SRCINCR {
    NO_INCREMENT,
    WIDTH_X_1,
    WIDTH_X_2,
    WIDTH_X_4,
}
[]

Possible values of the field SRCINC

Variants

NO_INCREMENT
[]

No increment. The source address is not incremented for each transfer. This is the usual case when the source is a peripheral device.

WIDTH_X_1
[]

1 x width. The source address is incremented by the amount specified by Width for each transfer. This is the usual case when the source is memory.

WIDTH_X_2
[]

2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.

WIDTH_X_4
[]

4 x width. The source address is incremented by 4 times the amount specified by Width for each transfer.

Methods

impl SRCINCR[src][]

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

Value of the field as raw bits

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

Checks if the value of the field is NO_INCREMENT

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

Checks if the value of the field is WIDTH_X_1

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

Checks if the value of the field is WIDTH_X_2

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

Checks if the value of the field is WIDTH_X_4

Trait Implementations

impl PartialEq<SRCINCR> for SRCINCR[src][+]

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

This method tests for !=.

impl Copy for SRCINCR[src]

impl Debug for SRCINCR[src][+]

impl Clone for SRCINCR[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 SRCINCR

impl Sync for SRCINCR

Blanket Implementations

impl<T> From<T> for T[src][+]

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> Into<U> for T where
    U: From<T>, 
[src][+]

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.

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

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

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self