embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 More...
 
}; 
 
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.

Field Documentation

struct { ... }
struct { ... }
uint8_t b[2]
uint16_t from
uint16_t from_branch
uint16_t from_leaf
uint16_t msg_len

0 = 2 bytes, 1 = 4 bytes, ... 7 = 16 bytes

uint16_t multi_msg
uint16_t reserved
uint16_t to
uint16_t to_branch
uint16_t to_leaf
uint16_t word

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