Struct embedded_nrf24l01::StandbyMode [] [src]

pub struct StandbyMode<D: Device> { /* fields omitted */ }

Represents Standby-I mode

This represents the state the device is in inbetween TX or RX mode.

Methods

impl<D: Device> StandbyMode<D>
[src]

[src]

Constructor

Puts the device into standy mode

[src]

Go into RX mode

[src]

Go into TX mode

Trait Implementations

impl<D: Device> Debug for StandbyMode<D>
[src]

[src]

Formats the value using the given formatter. Read more

impl<D: Device> Configuration for StandbyMode<D>
[src]

Underlying trait Device

[src]

Get a mutable reference to the underlying device

[src]

Flush RX queue Read more

[src]

Flush TX queue, discarding any unsent packets

[src]

Get the channel number, as offset in MHz to 2.4 GHz

[src]

Set the channel number, as offset in MHz to 2.4 GHz

[src]

power: 0: -18 dBm, 3: 0 dBm

[src]

Set CRC mode

[src]

Configure which RX pipes to enable

[src]

Set address addr of pipe number pipe_no

[src]

Set address of the TX pipe

[src]

Configure auto-retransmit Read more

[src]

Obtain auto-acknowledgment configuration for all pipes

[src]

Configure auto-acknowledgment for all RX pipes Read more

[src]

Get address width configuration

[src]

Obtain interrupt pending status as (RX_DR, TX_DR, MAX_RT) where RX_DR indicates new data in the RX FIFO, TX_DR indicates that a packet has been sent, and MAX_RT indicates maximum retransmissions without auto-ack. Read more

[src]

Clear all interrupts

[src]

bools * None: Dynamic payload length * Some(len): Static payload length len Read more

Auto Trait Implementations

impl<D> Send for StandbyMode<D> where
    D: Send

impl<D> Sync for StandbyMode<D> where
    D: Sync