Struct Shorts
#[repr(transparent)]pub struct Shorts(pub u32);
Expand description
Shortcuts between local events and tasks
Tuple Fields§
§0: u32
Implementations§
§impl Shorts
impl Shorts
pub const fn seqend0_stop(&self) -> bool
pub const fn seqend0_stop(&self) -> bool
Shortcut between event SEQEND[n] and task STOP
pub fn set_seqend0_stop(&mut self, val: bool)
pub fn set_seqend0_stop(&mut self, val: bool)
Shortcut between event SEQEND[n] and task STOP
pub const fn seqend1_stop(&self) -> bool
pub const fn seqend1_stop(&self) -> bool
Shortcut between event SEQEND[n] and task STOP
pub fn set_seqend1_stop(&mut self, val: bool)
pub fn set_seqend1_stop(&mut self, val: bool)
Shortcut between event SEQEND[n] and task STOP
pub const fn loopsdone_dma_seq0_start(&self) -> bool
pub const fn loopsdone_dma_seq0_start(&self) -> bool
Shortcut between event LOOPSDONE and task DMA.SEQ[n].START
pub fn set_loopsdone_dma_seq0_start(&mut self, val: bool)
pub fn set_loopsdone_dma_seq0_start(&mut self, val: bool)
Shortcut between event LOOPSDONE and task DMA.SEQ[n].START
pub const fn loopsdone_dma_seq1_start(&self) -> bool
pub const fn loopsdone_dma_seq1_start(&self) -> bool
Shortcut between event LOOPSDONE and task DMA.SEQ[n].START
pub fn set_loopsdone_dma_seq1_start(&mut self, val: bool)
pub fn set_loopsdone_dma_seq1_start(&mut self, val: bool)
Shortcut between event LOOPSDONE and task DMA.SEQ[n].START
pub const fn loopsdone_stop(&self) -> bool
pub const fn loopsdone_stop(&self) -> bool
Shortcut between event LOOPSDONE and task STOP
pub fn set_loopsdone_stop(&mut self, val: bool)
pub fn set_loopsdone_stop(&mut self, val: bool)
Shortcut between event LOOPSDONE and task STOP
pub const fn ramunderflow_stop(&self) -> bool
pub const fn ramunderflow_stop(&self) -> bool
Shortcut between event RAMUNDERFLOW and task STOP
pub fn set_ramunderflow_stop(&mut self, val: bool)
pub fn set_ramunderflow_stop(&mut self, val: bool)
Shortcut between event RAMUNDERFLOW and task STOP
pub const fn dma_seq0_buserror_stop(&self) -> bool
pub const fn dma_seq0_buserror_stop(&self) -> bool
Shortcut between event DMA.SEQ[n].BUSERROR and task STOP
pub fn set_dma_seq0_buserror_stop(&mut self, val: bool)
pub fn set_dma_seq0_buserror_stop(&mut self, val: bool)
Shortcut between event DMA.SEQ[n].BUSERROR and task STOP
pub const fn dma_seq1_buserror_stop(&self) -> bool
pub const fn dma_seq1_buserror_stop(&self) -> bool
Shortcut between event DMA.SEQ[n].BUSERROR and task STOP
pub fn set_dma_seq1_buserror_stop(&mut self, val: bool)
pub fn set_dma_seq1_buserror_stop(&mut self, val: bool)
Shortcut between event DMA.SEQ[n].BUSERROR and task STOP
Trait Implementations§
impl Copy for Shorts
impl Eq for Shorts
impl StructuralPartialEq for Shorts
Auto Trait Implementations§
impl Freeze for Shorts
impl RefUnwindSafe for Shorts
impl Send for Shorts
impl Sync for Shorts
impl Unpin for Shorts
impl UnwindSafe for Shorts
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
)