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

Network address together with port. More...

#include <fastarduino/devices/nrf24l01p.h>

Public Member Functions

 addr_t (uint16_t net, uint8_t dev) INLINE
 Create an addr_t from a netwrok and a device address. More...
 

Public Attributes

uint8_t device
 Device address (LSB). More...
 
uint16_t network
 Network address. More...
 

Detailed Description

template<board::DigitalPin CSN, board::DigitalPin CE>
struct devices::rf::NRF24L01< CSN, CE >::addr_t

Network address together with port.

Definition at line 456 of file nrf24l01p.h.

Constructor & Destructor Documentation

◆ addr_t()

devices::rf::NRF24L01< CSN, CE >::addr_t::addr_t ( uint16_t  net,
uint8_t  dev 
)
inline

Create an addr_t from a netwrok and a device address.

Parameters
netnetwork address
devdevice address

Definition at line 466 of file nrf24l01p.h.

Member Data Documentation

◆ device

uint8_t devices::rf::NRF24L01< CSN, CE >::addr_t::device

Device address (LSB).

Definition at line 458 of file nrf24l01p.h.

◆ network

uint16_t devices::rf::NRF24L01< CSN, CE >::addr_t::network

Network address.

Definition at line 459 of file nrf24l01p.h.


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