Struct embedded_nrf24l01::TxMode [] [src]

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

Represents TX Mode and the associated TX Settling and Standby-II states

Timing

The datasheet states the follwing:

It is important to never keep the nRF24L01 in TX mode for more than 4ms at a time.

No effects have been observed when exceeding this limit. The warranty could get void.

Methods

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

[src]

Disable CE so that you can switch into RX mode.

[src]

Is TX FIFO empty?

[src]

Is TX FIFO full?

[src]

Does the TX FIFO have space?

[src]

Send asynchronously

[src]

Wait until FX FIFO is empty

[src]

Read the OBSERVE_TX register

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<D: Device> Configuration for TxMode<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 TxMode<D> where
    D: Send

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