Enum nrf52832_pac::radio::state::STATER
source · pub enum STATER {
DISABLED,
RXRU,
RXIDLE,
RX,
RXDISABLE,
TXRU,
TXIDLE,
TX,
TXDISABLE,
_Reserved(u8),
}
Expand description
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
Implementations§
source§impl STATER
impl STATER
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_rx_idle(&self) -> bool
pub fn is_rx_idle(&self) -> bool
Checks if the value of the field is RXIDLE
sourcepub fn is_rx_disable(&self) -> bool
pub fn is_rx_disable(&self) -> bool
Checks if the value of the field is RXDISABLE
sourcepub fn is_tx_idle(&self) -> bool
pub fn is_tx_idle(&self) -> bool
Checks if the value of the field is TXIDLE
sourcepub fn is_tx_disable(&self) -> bool
pub fn is_tx_disable(&self) -> bool
Checks if the value of the field is TXDISABLE