#[repr(transparent)]pub struct Shorts(pub u32);
Expand description
Shortcuts for the radio.
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 READY event and START task.
Sourcepub fn set_ready_start(&mut self, val: bool)
pub fn set_ready_start(&mut self, val: bool)
Shortcut between READY event and START task.
Sourcepub const fn end_disable(&self) -> bool
pub const fn end_disable(&self) -> bool
Shortcut between END event and DISABLE task.
Sourcepub fn set_end_disable(&mut self, val: bool)
pub fn set_end_disable(&mut self, val: bool)
Shortcut between END event and DISABLE task.
Sourcepub const fn disabled_txen(&self) -> bool
pub const fn disabled_txen(&self) -> bool
Shortcut between DISABLED event and TXEN task.
Sourcepub fn set_disabled_txen(&mut self, val: bool)
pub fn set_disabled_txen(&mut self, val: bool)
Shortcut between DISABLED event and TXEN task.
Sourcepub const fn disabled_rxen(&self) -> bool
pub const fn disabled_rxen(&self) -> bool
Shortcut between DISABLED event and RXEN task.
Sourcepub fn set_disabled_rxen(&mut self, val: bool)
pub fn set_disabled_rxen(&mut self, val: bool)
Shortcut between DISABLED event and RXEN task.
Sourcepub const fn address_rssistart(&self) -> bool
pub const fn address_rssistart(&self) -> bool
Shortcut between ADDRESS event and RSSISTART task.
Sourcepub fn set_address_rssistart(&mut self, val: bool)
pub fn set_address_rssistart(&mut self, val: bool)
Shortcut between ADDRESS event and RSSISTART task.
Sourcepub fn set_end_start(&mut self, val: bool)
pub fn set_end_start(&mut self, val: bool)
Shortcut between END event and START task.
Sourcepub const fn address_bcstart(&self) -> bool
pub const fn address_bcstart(&self) -> bool
Shortcut between ADDRESS event and BCSTART task.
Sourcepub fn set_address_bcstart(&mut self, val: bool)
pub fn set_address_bcstart(&mut self, val: bool)
Shortcut between ADDRESS event and BCSTART task.
Sourcepub const fn disabled_rssistop(&self) -> bool
pub const fn disabled_rssistop(&self) -> bool
Shortcut between DISABLED event and RSSISTOP task.
Sourcepub fn set_disabled_rssistop(&mut self, val: bool)
pub fn set_disabled_rssistop(&mut self, val: bool)
Shortcut between DISABLED event and RSSISTOP task.
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
)