#[repr(transparent)]pub struct Shorts(pub u32);
Expand description
Shortcuts between local events and tasks
Tuple Fields§
§0: u32
Implementations§
Source§impl Shorts
impl Shorts
Sourcepub const fn dma_rx_end_dma_rx_start(&self) -> bool
pub const fn dma_rx_end_dma_rx_start(&self) -> bool
Shortcut between event DMA.RX.END and task DMA.RX.START
Sourcepub fn set_dma_rx_end_dma_rx_start(&mut self, val: bool)
pub fn set_dma_rx_end_dma_rx_start(&mut self, val: bool)
Shortcut between event DMA.RX.END and task DMA.RX.START
Sourcepub const fn dma_rx_end_dma_rx_stop(&self) -> bool
pub const fn dma_rx_end_dma_rx_stop(&self) -> bool
Shortcut between event DMA.RX.END and task DMA.RX.STOP
Sourcepub fn set_dma_rx_end_dma_rx_stop(&mut self, val: bool)
pub fn set_dma_rx_end_dma_rx_stop(&mut self, val: bool)
Shortcut between event DMA.RX.END and task DMA.RX.STOP
Sourcepub const fn dma_tx_end_dma_tx_stop(&self) -> bool
pub const fn dma_tx_end_dma_tx_stop(&self) -> bool
Shortcut between event DMA.TX.END and task DMA.TX.STOP
Sourcepub fn set_dma_tx_end_dma_tx_stop(&mut self, val: bool)
pub fn set_dma_tx_end_dma_tx_stop(&mut self, val: bool)
Shortcut between event DMA.TX.END and task DMA.TX.STOP
Sourcepub const fn dma_rx_match0_dma_rx_enablematch1(&self) -> bool
pub const fn dma_rx_match0_dma_rx_enablematch1(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[1] Allows daisy-chaining match events.
Sourcepub fn set_dma_rx_match0_dma_rx_enablematch1(&mut self, val: bool)
pub fn set_dma_rx_match0_dma_rx_enablematch1(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[1] Allows daisy-chaining match events.
Sourcepub const fn dma_rx_match1_dma_rx_enablematch2(&self) -> bool
pub const fn dma_rx_match1_dma_rx_enablematch2(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[2] Allows daisy-chaining match events.
Sourcepub fn set_dma_rx_match1_dma_rx_enablematch2(&mut self, val: bool)
pub fn set_dma_rx_match1_dma_rx_enablematch2(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[2] Allows daisy-chaining match events.
Sourcepub const fn dma_rx_match2_dma_rx_enablematch3(&self) -> bool
pub const fn dma_rx_match2_dma_rx_enablematch3(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[3] Allows daisy-chaining match events.
Sourcepub fn set_dma_rx_match2_dma_rx_enablematch3(&mut self, val: bool)
pub fn set_dma_rx_match2_dma_rx_enablematch3(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[3] Allows daisy-chaining match events.
Sourcepub const fn dma_rx_match3_dma_rx_enablematch0(&self) -> bool
pub const fn dma_rx_match3_dma_rx_enablematch0(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[0] Allows daisy-chaining match events.
Sourcepub fn set_dma_rx_match3_dma_rx_enablematch0(&mut self, val: bool)
pub fn set_dma_rx_match3_dma_rx_enablematch0(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.ENABLEMATCH[0] Allows daisy-chaining match events.
Sourcepub const fn dma_rx_match0_dma_rx_disablematch0(&self) -> bool
pub const fn dma_rx_match0_dma_rx_disablematch0(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub fn set_dma_rx_match0_dma_rx_disablematch0(&mut self, val: bool)
pub fn set_dma_rx_match0_dma_rx_disablematch0(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub const fn dma_rx_match1_dma_rx_disablematch1(&self) -> bool
pub const fn dma_rx_match1_dma_rx_disablematch1(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub fn set_dma_rx_match1_dma_rx_disablematch1(&mut self, val: bool)
pub fn set_dma_rx_match1_dma_rx_disablematch1(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub const fn dma_rx_match2_dma_rx_disablematch2(&self) -> bool
pub const fn dma_rx_match2_dma_rx_disablematch2(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub fn set_dma_rx_match2_dma_rx_disablematch2(&mut self, val: bool)
pub fn set_dma_rx_match2_dma_rx_disablematch2(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub const fn dma_rx_match3_dma_rx_disablematch3(&self) -> bool
pub const fn dma_rx_match3_dma_rx_disablematch3(&self) -> bool
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub fn set_dma_rx_match3_dma_rx_disablematch3(&mut self, val: bool)
pub fn set_dma_rx_match3_dma_rx_disablematch3(&mut self, val: bool)
Shortcut between event DMA.RX.MATCH[n] and task DMA.RX.DISABLEMATCH[n]
Sourcepub const fn frametimeout_dma_rx_stop(&self) -> bool
pub const fn frametimeout_dma_rx_stop(&self) -> bool
Shortcut between event FRAMETIMEOUT and task DMA.RX.STOP
Sourcepub fn set_frametimeout_dma_rx_stop(&mut self, val: bool)
pub fn set_frametimeout_dma_rx_stop(&mut self, val: bool)
Shortcut between event FRAMETIMEOUT and task DMA.RX.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
)