embeddedlibrary
reusable software modules for embedded systems
nrfnet_address_t Union Reference

#include <nrf24network.h>

Data Fields

uint16_t word
 
uint8_t b [2]
 
struct {
   uint16_t   to_leaf: 3
 
   uint16_t   to_branch: 3
 
   uint16_t   from_leaf: 3
 
   uint16_t   from_branch: 3
 
   uint16_t   multi_msg: 1
 
   uint16_t   msg_len: 3
 0 = 2 bytes, 1 = 4 bytes, ... 7 = 16 bytes
 
}; 
 
struct {
   uint16_t   to: 6
 
   uint16_t   from: 6
 
   uint16_t   reserved: 4
 
}; 
 

Detailed Description

Helper union for the first two bytes of each payload which includes to and from addresses.


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