[−][src]Struct imxrt_hal::dma::Channel
A DMA channel
DMA channels provide one-way transfers of data. They accept a source of data, and a destination of data. They copy data from the source to the destination. When the transfer is complete, a DMA channel signals completion by changing a value in a register, or triggering an interrupt.
DMA channels have very little public interface. They're best used when paired with a
Peripheral
or a Memcpy
.
Implementations
impl Channel
[src]
pub fn set_bandwidth_control(&mut self, bandwidth: Option<BandwidthControl>)
[src]
Set the channel's bandwidth control
The bandwidth control will be used in any Memcpy
or
Peripheral
DMA transfers.
None
disables bandwidth control (default setting)Some(bwc)
sets the bandwidth control tobwc
pub fn channel(&self) -> usize
[src]
Returns the DMA channel number
Channels are unique and numbered within the half-open range [0, 32)
.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,