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

#include <NRF24L01P.hh>

Collaboration diagram for NRF24L01P::fifo_status_t:
Collaboration graph

Public Member Functions

 fifo_status_t (uint8_t value)
 

Public Attributes

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

Detailed Description

Register FIFO_STATUS data type, transmission queue status.

Definition at line 496 of file NRF24L01P.hh.

Constructor & Destructor Documentation

NRF24L01P::fifo_status_t::fifo_status_t ( uint8_t  value)
inline

Construct transmitter queue status from register reading.

Parameters
[in]valueregister reading.

Definition at line 512 of file NRF24L01P.hh.

Member Data Documentation

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

Byte representation of fifo status.

Definition at line 497 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::reserved1

Definition at line 501 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::reserved2

Definition at line 505 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::rx_empty

RX FIFO empty flag.

Definition at line 499 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::rx_full

RX FIFO full flag.

Definition at line 500 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::tx_empty

TX FIFO empty flag.

Definition at line 502 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::tx_full

TX FIFO full flag.

Definition at line 503 of file NRF24L01P.hh.

uint8_t NRF24L01P::fifo_status_t::tx_reuse

Reuse last transmitted data packat.

Definition at line 504 of file NRF24L01P.hh.


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