#[repr(transparent)]pub struct ChanAbort(pub u32);
Expand description
Abort an in-progress transfer sequence on one or more channels
Tuple Fields§
§0: u32
Implementations§
Source§impl ChanAbort
impl ChanAbort
Sourcepub const fn chan_abort(&self) -> u16
pub const fn chan_abort(&self) -> u16
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.
Sourcepub fn set_chan_abort(&mut self, val: u16)
pub fn set_chan_abort(&mut self, val: u16)
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.