kw2xrf_t Struct Reference

Device descriptor for KW2XRF radio devices. More...

Detailed Description

Definition at line 132 of file kw2xrf.h.

#include <kw2xrf.h>

Data Fields

netdev_ieee802154_t netdev
 netdev parent struct
 
kw2xrf_params_t params
 device specific fields More...
 
uint8_t buf [KW2XRF_MAX_PKT_LENGTH]
 Buffer for incoming or outgoing packets.
 
uint8_t state
 current state of the radio
 
uint8_t tx_frame_len
 length of the current TX frame
 
uint8_t idle_state
 state to return to after sending
 
uint8_t pending_tx
 keep track of pending TX calls this is required to know when to return to kw2xrf_t::idle_state
 
int16_t tx_power
 The current tx-power setting of the device.
 
- Data Fields inherited from netdev_ieee802154_t
netdev_t netdev
 netdev_t base class
 
uint16_t pan
 IEEE 802.15.4 specific fields. More...
 
uint8_t short_addr [IEEE802154_SHORT_ADDRESS_LEN]
 Short address in network byte order.
 
uint8_t long_addr [IEEE802154_LONG_ADDRESS_LEN]
 Long address in network byte order.
 
uint8_t seq
 sequence number
 
uint8_t chan
 channel
 
uint16_t flags
 flags as defined above
 
- Data Fields inherited from netdev
const struct netdev_driverdriver
 ptr to that driver's interface. More...
 
netdev_event_cb_t event_callback
 callback for device events
 
void * context
 ptr to network stack context
 

Field Documentation

◆ params

kw2xrf_params_t kw2xrf_t::params

parameters for initialization

Definition at line 138 of file kw2xrf.h.


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