#[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 ready_start(&self) -> bool
pub const fn ready_start(&self) -> bool
Shortcut between event READY and task START
Sourcepub fn set_ready_start(&mut self, val: bool)
pub fn set_ready_start(&mut self, val: bool)
Shortcut between event READY and task START
Sourcepub const fn end_disable(&self) -> bool
pub const fn end_disable(&self) -> bool
Shortcut between event END and task DISABLE
Sourcepub fn set_end_disable(&mut self, val: bool)
pub fn set_end_disable(&mut self, val: bool)
Shortcut between event END and task DISABLE
Sourcepub const fn disabled_txen(&self) -> bool
pub const fn disabled_txen(&self) -> bool
Shortcut between event DISABLED and task TXEN
Sourcepub fn set_disabled_txen(&mut self, val: bool)
pub fn set_disabled_txen(&mut self, val: bool)
Shortcut between event DISABLED and task TXEN
Sourcepub const fn disabled_rxen(&self) -> bool
pub const fn disabled_rxen(&self) -> bool
Shortcut between event DISABLED and task RXEN
Sourcepub fn set_disabled_rxen(&mut self, val: bool)
pub fn set_disabled_rxen(&mut self, val: bool)
Shortcut between event DISABLED and task RXEN
Sourcepub const fn address_rssistart(&self) -> bool
pub const fn address_rssistart(&self) -> bool
Shortcut between event ADDRESS and task RSSISTART
Sourcepub fn set_address_rssistart(&mut self, val: bool)
pub fn set_address_rssistart(&mut self, val: bool)
Shortcut between event ADDRESS and task RSSISTART
Sourcepub fn set_end_start(&mut self, val: bool)
pub fn set_end_start(&mut self, val: bool)
Shortcut between event END and task START
Sourcepub const fn address_bcstart(&self) -> bool
pub const fn address_bcstart(&self) -> bool
Shortcut between event ADDRESS and task BCSTART
Sourcepub fn set_address_bcstart(&mut self, val: bool)
pub fn set_address_bcstart(&mut self, val: bool)
Shortcut between event ADDRESS and task BCSTART
Sourcepub const fn disabled_rssistop(&self) -> bool
pub const fn disabled_rssistop(&self) -> bool
Shortcut between event DISABLED and task RSSISTOP
Sourcepub fn set_disabled_rssistop(&mut self, val: bool)
pub fn set_disabled_rssistop(&mut self, val: bool)
Shortcut between event DISABLED and task RSSISTOP
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
)