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

Register STATUS data type. More...

#include <fastarduino/devices/nrf24l01p.h>

Public Member Functions

 status_t (uint8_t value) INLINE
 Construct status from register reading. More...
 

Public Attributes

uint8_t as_byte
 Byte representation of status. More...
 
struct {
   bool   tx_full: 1
 TX FIFO full. More...
 
   uint8_t   rx_p_no: 3
 Data pipe number for available payload. More...
 
   bool   max_rt: 1
 Max number of TX retransmit interrupt. More...
 
   bool   tx_ds: 1
 Data send TX FIFO interrupt. More...
 
   bool   rx_dr: 1
 Data ready RX FIFO interrupt. More...
 
   uint8_t   reserved: 1
 
}; 
 

Detailed Description

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

Register STATUS data type.

Definition at line 483 of file nrf24l01p.h.

Constructor & Destructor Documentation

◆ status_t()

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

Construct status from register reading.

Parameters
[in]valueregister reading.

Definition at line 500 of file nrf24l01p.h.

Member Data Documentation

◆ as_byte

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

Byte representation of status.

Definition at line 485 of file nrf24l01p.h.

◆ tx_full

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

TX FIFO full.

Definition at line 488 of file nrf24l01p.h.

◆ rx_p_no

uint8_t devices::rf::NRF24L01< CSN, CE >::status_t::rx_p_no

Data pipe number for available payload.

Definition at line 489 of file nrf24l01p.h.

◆ max_rt

bool devices::rf::NRF24L01< CSN, CE >::status_t::max_rt

Max number of TX retransmit interrupt.

Definition at line 490 of file nrf24l01p.h.

◆ tx_ds

bool devices::rf::NRF24L01< CSN, CE >::status_t::tx_ds

Data send TX FIFO interrupt.

Definition at line 491 of file nrf24l01p.h.

◆ rx_dr

bool devices::rf::NRF24L01< CSN, CE >::status_t::rx_dr

Data ready RX FIFO interrupt.

Definition at line 492 of file nrf24l01p.h.

◆ reserved

uint8_t devices::rf::NRF24L01< CSN, CE >::status_t::reserved

Definition at line 493 of file nrf24l01p.h.


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