pub struct DmaConfig { /* private fields */ }
Expand description

Contains the complete set of configuration for a DMA stream.

Implementations

Set the priority.

Set the memory_increment.

Set the peripheral_increment.

Set the transfer_complete_interrupt.

Set the half_transfer_interrupt.

Set the transfer_error_interrupt.

Set the direct_mode_error_interrupt.

Set the fifo_error_interrupt.

Set the double_buffer.

Set the fifo_threshold.

Set the fifo_enable.

Set the memory_burst.

Set the peripheral_burst.

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

Returns the “default value” for a type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.