FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
devices::rf::NRF24L01< CSN, CE >::fifo_status_t Union Reference

Register FIFO_STATUS data type, transmission queue status. More...

#include <fastarduino/devices/nrf24l01p.h>

Public Member Functions

 fifo_status_t (uint8_t value) INLINE
 Construct transmitter queue status from register reading. More...
 

Public Attributes

uint8_t as_byte
 Byte representation of fifo status. More...
 
struct {
   bool   rx_empty: 1
 RX FIFO empty flag. More...
 
   bool   rx_full: 1
 RX FIFO full flag. More...
 
   uint8_t   reserved1: 2
 
   bool   tx_empty: 1
 TX FIFO empty flag. More...
 
   bool   tx_full: 1
 TX FIFO full flag. More...
 
   bool   tx_reuse: 1
 Reuse last transmitted data packat. More...
 
   uint8_t   reserved2: 1
 
}; 
 

Detailed Description

template<board::DigitalPin CSN, board::DigitalPin CE>
union devices::rf::NRF24L01< CSN, CE >::fifo_status_t

Register FIFO_STATUS data type, transmission queue status.

Definition at line 432 of file nrf24l01p.h.

Constructor & Destructor Documentation

◆ fifo_status_t()

devices::rf::NRF24L01< CSN, CE >::fifo_status_t::fifo_status_t ( uint8_t  value)
inlineexplicit

Construct transmitter queue status from register reading.

Parameters
[in]valueregister reading

Definition at line 450 of file nrf24l01p.h.

Member Data Documentation

◆ as_byte

uint8_t devices::rf::NRF24L01< CSN, CE >::fifo_status_t::as_byte

Byte representation of fifo status.

Definition at line 434 of file nrf24l01p.h.

◆ rx_empty

bool devices::rf::NRF24L01< CSN, CE >::fifo_status_t::rx_empty

RX FIFO empty flag.

Definition at line 437 of file nrf24l01p.h.

◆ rx_full

bool devices::rf::NRF24L01< CSN, CE >::fifo_status_t::rx_full

RX FIFO full flag.

Definition at line 438 of file nrf24l01p.h.

◆ reserved1

uint8_t devices::rf::NRF24L01< CSN, CE >::fifo_status_t::reserved1

Definition at line 439 of file nrf24l01p.h.

◆ tx_empty

bool devices::rf::NRF24L01< CSN, CE >::fifo_status_t::tx_empty

TX FIFO empty flag.

Definition at line 440 of file nrf24l01p.h.

◆ tx_full

bool devices::rf::NRF24L01< CSN, CE >::fifo_status_t::tx_full

TX FIFO full flag.

Definition at line 441 of file nrf24l01p.h.

◆ tx_reuse

bool devices::rf::NRF24L01< CSN, CE >::fifo_status_t::tx_reuse

Reuse last transmitted data packat.

Definition at line 442 of file nrf24l01p.h.

◆ reserved2

uint8_t devices::rf::NRF24L01< CSN, CE >::fifo_status_t::reserved2

Definition at line 443 of file nrf24l01p.h.


The documentation for this union was generated from the following file: