[][src]Enum nrf52810_pac::radio::state::STATER

pub enum STATER {
    DISABLED,
    RXRU,
    RXIDLE,
    RX,
    RXDISABLE,
    TXRU,
    TXIDLE,
    TX,
    TXDISABLE,
    _Reserved(u8),
}

Possible values of the field STATE

Variants

DISABLED

RADIO is in the Disabled state

RXRU

RADIO is in the RXRU state

RXIDLE

RADIO is in the RXIDLE state

RX

RADIO is in the RX state

RXDISABLE

RADIO is in the RXDISABLED state

TXRU

RADIO is in the TXRU state

TXIDLE

RADIO is in the TXIDLE state

TX

RADIO is in the TX state

TXDISABLE

RADIO is in the TXDISABLED state

_Reserved(u8)

Reserved

Methods

impl STATER[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_disabled(&self) -> bool[src]

Checks if the value of the field is DISABLED

pub fn is_rx_ru(&self) -> bool[src]

Checks if the value of the field is RXRU

pub fn is_rx_idle(&self) -> bool[src]

Checks if the value of the field is RXIDLE

pub fn is_rx(&self) -> bool[src]

Checks if the value of the field is RX

pub fn is_rx_disable(&self) -> bool[src]

Checks if the value of the field is RXDISABLE

pub fn is_tx_ru(&self) -> bool[src]

Checks if the value of the field is TXRU

pub fn is_tx_idle(&self) -> bool[src]

Checks if the value of the field is TXIDLE

pub fn is_tx(&self) -> bool[src]

Checks if the value of the field is TX

pub fn is_tx_disable(&self) -> bool[src]

Checks if the value of the field is TXDISABLE

Trait Implementations

impl Clone for STATER[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for STATER[src]

impl PartialEq<STATER> for STATER[src]

impl Copy for STATER[src]

Auto Trait Implementations

impl Send for STATER

impl Sync for STATER

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]