COSA
An Object-Oriented Platform for Arduino Programming
NRF24L01P::status_t Union Reference

#include <NRF24L01P.hh>

Collaboration diagram for NRF24L01P::status_t:
Collaboration graph

Public Member Functions

 status_t (uint8_t value)
 

Public Attributes

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

Detailed Description

Register STATUS data type.

Definition at line 432 of file NRF24L01P.hh.

Constructor & Destructor Documentation

NRF24L01P::status_t::status_t ( uint8_t  value)
inline

Construct status from register reading.

Parameters
[in]valueregister reading.

Definition at line 447 of file NRF24L01P.hh.

Member Data Documentation

struct { ... }
uint8_t NRF24L01P::status_t::as_byte

Byte representation of status.

Definition at line 433 of file NRF24L01P.hh.

uint8_t NRF24L01P::status_t::max_rt

Max number of TX retransmit interrupt.

Definition at line 437 of file NRF24L01P.hh.

uint8_t NRF24L01P::status_t::reserved

Definition at line 440 of file NRF24L01P.hh.

uint8_t NRF24L01P::status_t::rx_dr

Data ready RX FIFO interrupt.

Definition at line 439 of file NRF24L01P.hh.

uint8_t NRF24L01P::status_t::rx_p_no

Data pipe number for available payload.

Definition at line 436 of file NRF24L01P.hh.

uint8_t NRF24L01P::status_t::tx_ds

Data send TX FIFO interrupt.

Definition at line 438 of file NRF24L01P.hh.

uint8_t NRF24L01P::status_t::tx_full

TX FIFO full.

Definition at line 435 of file NRF24L01P.hh.


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