#[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.
Trait Implementations§
impl Copy for ChanAbort
impl Eq for ChanAbort
impl StructuralPartialEq for ChanAbort
Auto Trait Implementations§
impl Freeze for ChanAbort
impl RefUnwindSafe for ChanAbort
impl Send for ChanAbort
impl Sync for ChanAbort
impl Unpin for ChanAbort
impl UnwindSafe for ChanAbort
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)