Enum lpc845_pac::dma0::channel::xfercfg::SRCINC_A[][src]

#[repr(u8)]
pub enum SRCINC_A {
    NO_INCREMENT,
    WIDTH_X_1,
    WIDTH_X_2,
    WIDTH_X_4,
}
Expand description

Determines whether the source address is incremented for each DMA transfer.

Value on reset: 0

Variants

NO_INCREMENT

0: 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: 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: 2 x width. The source address is incremented by 2 times the amount specified by Width for each transfer.

WIDTH_X_4

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.