Struct rp2040_pac2::dma::regs::ChanAbort[][src]

#[repr(transparent)]pub struct ChanAbort(pub u32);

Abort an in-progress transfer sequence on one or more channels

Implementations

impl ChanAbort[src]

pub const fn chan_abort(&self) -> u16[src]

Each bit corresponds to a channel. Writing a 1 aborts whatever transfer sequence is in progress on that channel. The bit will remain high until any in-flight transfers have been flushed through the address and data FIFOs. After writing, this register must be polled until it returns all-zero. Until this point, it is unsafe to restart the channel.

pub fn set_chan_abort(&mut self, val: u16)[src]

Each bit corresponds to a channel. Writing a 1 aborts whatever transfer sequence is in progress on that channel. The bit will remain high until any in-flight transfers have been flushed through the address and data FIFOs. After writing, this register must be polled until it returns all-zero. Until this point, it is unsafe to restart the channel.

Trait Implementations

impl Clone for ChanAbort[src]

impl Copy for ChanAbort[src]

impl Default for ChanAbort[src]

Auto Trait Implementations

impl Send for ChanAbort

impl Sync for ChanAbort

impl Unpin for ChanAbort

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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> 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.