#[repr(transparent)]pub struct Shorts(pub u32);Expand description
Shortcuts between local events and tasks
Tuple Fields§
§0: u32Implementations§
Source§impl Shorts
impl Shorts
Sourcepub const fn lasttx_dma_rx_start(&self) -> bool
pub const fn lasttx_dma_rx_start(&self) -> bool
Shortcut between event LASTTX and task STARTRX
Sourcepub const fn set_lasttx_dma_rx_start(&mut self, val: bool)
pub const fn set_lasttx_dma_rx_start(&mut self, val: bool)
Shortcut between event LASTTX and task STARTRX
Sourcepub const fn lasttx_suspend(&self) -> bool
pub const fn lasttx_suspend(&self) -> bool
Shortcut between event LASTTX and task SUSPEND
Sourcepub const fn set_lasttx_suspend(&mut self, val: bool)
pub const fn set_lasttx_suspend(&mut self, val: bool)
Shortcut between event LASTTX and task SUSPEND
Sourcepub const fn lasttx_stop(&self) -> bool
pub const fn lasttx_stop(&self) -> bool
Shortcut between event LASTTX and task STOP
Sourcepub const fn set_lasttx_stop(&mut self, val: bool)
pub const fn set_lasttx_stop(&mut self, val: bool)
Shortcut between event LASTTX and task STOP
Sourcepub const fn lastrx_dma_tx_start(&self) -> bool
pub const fn lastrx_dma_tx_start(&self) -> bool
Shortcut between event LASTRX and task STARTTX
Sourcepub const fn set_lastrx_dma_tx_start(&mut self, val: bool)
pub const fn set_lastrx_dma_tx_start(&mut self, val: bool)
Shortcut between event LASTRX and task STARTTX
Sourcepub const fn lastrx_suspend(&self) -> bool
pub const fn lastrx_suspend(&self) -> bool
Shortcut between event LASTRX and task SUSPEND
Sourcepub const fn set_lastrx_suspend(&mut self, val: bool)
pub const fn set_lastrx_suspend(&mut self, val: bool)
Shortcut between event LASTRX and task SUSPEND
Sourcepub const fn lastrx_stop(&self) -> bool
pub const fn lastrx_stop(&self) -> bool
Shortcut between event LASTRX and task STOP
Sourcepub const fn set_lastrx_stop(&mut self, val: bool)
pub const fn set_lastrx_stop(&mut self, val: bool)
Shortcut between event LASTRX 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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)