nrf52840_pac::radio::shorts

Struct W

source
pub struct W(/* private fields */);
Expand description

Register SHORTS writer

Implementations§

source§

impl W

source

pub fn ready_start(&mut self) -> READY_START_W<'_, 0>

Bit 0 - Shortcut between READY event and START task

source

pub fn end_disable(&mut self) -> END_DISABLE_W<'_, 1>

Bit 1 - Shortcut between END event and DISABLE task

source

pub fn disabled_txen(&mut self) -> DISABLED_TXEN_W<'_, 2>

Bit 2 - Shortcut between DISABLED event and TXEN task

source

pub fn disabled_rxen(&mut self) -> DISABLED_RXEN_W<'_, 3>

Bit 3 - Shortcut between DISABLED event and RXEN task

source

pub fn address_rssistart(&mut self) -> ADDRESS_RSSISTART_W<'_, 4>

Bit 4 - Shortcut between ADDRESS event and RSSISTART task

source

pub fn end_start(&mut self) -> END_START_W<'_, 5>

Bit 5 - Shortcut between END event and START task

source

pub fn address_bcstart(&mut self) -> ADDRESS_BCSTART_W<'_, 6>

Bit 6 - Shortcut between ADDRESS event and BCSTART task

source

pub fn disabled_rssistop(&mut self) -> DISABLED_RSSISTOP_W<'_, 8>

Bit 8 - Shortcut between DISABLED event and RSSISTOP task

source

pub fn rxready_ccastart(&mut self) -> RXREADY_CCASTART_W<'_, 11>

Bit 11 - Shortcut between RXREADY event and CCASTART task

source

pub fn ccaidle_txen(&mut self) -> CCAIDLE_TXEN_W<'_, 12>

Bit 12 - Shortcut between CCAIDLE event and TXEN task

source

pub fn ccabusy_disable(&mut self) -> CCABUSY_DISABLE_W<'_, 13>

Bit 13 - Shortcut between CCABUSY event and DISABLE task

source

pub fn framestart_bcstart(&mut self) -> FRAMESTART_BCSTART_W<'_, 14>

Bit 14 - Shortcut between FRAMESTART event and BCSTART task

source

pub fn ready_edstart(&mut self) -> READY_EDSTART_W<'_, 15>

Bit 15 - Shortcut between READY event and EDSTART task

source

pub fn edend_disable(&mut self) -> EDEND_DISABLE_W<'_, 16>

Bit 16 - Shortcut between EDEND event and DISABLE task

source

pub fn ccaidle_stop(&mut self) -> CCAIDLE_STOP_W<'_, 17>

Bit 17 - Shortcut between CCAIDLE event and STOP task

source

pub fn txready_start(&mut self) -> TXREADY_START_W<'_, 18>

Bit 18 - Shortcut between TXREADY event and START task

source

pub fn rxready_start(&mut self) -> RXREADY_START_W<'_, 19>

Bit 19 - Shortcut between RXREADY event and START task

source

pub fn phyend_disable(&mut self) -> PHYEND_DISABLE_W<'_, 20>

Bit 20 - Shortcut between PHYEND event and DISABLE task

source

pub fn phyend_start(&mut self) -> PHYEND_START_W<'_, 21>

Bit 21 - Shortcut between PHYEND event and START task

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<SHORTS_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Trait Implementations§

source§

impl Deref for W

source§

type Target = W<SHORTS_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<SHORTS_SPEC>> for W

source§

fn from(writer: W<SHORTS_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.