#[repr(transparent)]pub struct Abort0(pub u32);Expand description
Channel Abort control for all DMA channels.
Tuple Fields§
§0: u32Implementations§
Source§impl Abort0
impl Abort0
Sourcepub const fn abortctrl(&self) -> u32
pub const fn abortctrl(&self) -> u32
Abort control for DMA channel 0. Bit n corresponds to DMA channel n. 0 = no effect. 1 = aborts DMA operations on channel n.
Sourcepub const fn set_abortctrl(&mut self, val: u32)
pub const fn set_abortctrl(&mut self, val: u32)
Abort control for DMA channel 0. Bit n corresponds to DMA channel n. 0 = no effect. 1 = aborts DMA operations on channel n.
Trait Implementations§
impl Copy for Abort0
impl Eq for Abort0
impl StructuralPartialEq for Abort0
Auto Trait Implementations§
impl Freeze for Abort0
impl RefUnwindSafe for Abort0
impl Send for Abort0
impl Sync for Abort0
impl Unpin for Abort0
impl UnwindSafe for Abort0
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
Mutably borrows from an owned value. Read more