Interface definition for the kw41zrf driver. More...
Interface definition for the kw41zrf driver.
Definition in file kw41zrf.h.
#include <stdint.h>#include "mutex.h"#include "board.h"#include "net/netdev.h"#include "net/netdev/ieee802154.h"#include "net/gnrc/nettype.h" Include dependency graph for kw41zrf.h:
 Include dependency graph for kw41zrf.h: This graph shows which files directly or indirectly include this file:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| Data Structures | |
| struct | kw41zrf_t | 
| Device descriptor for KW41ZRF radio devices.  More... | |
| Macros | |
| #define | KW41ZRF_MAX_PKT_LENGTH (IEEE802154_FRAME_LEN_MAX) | 
| Maximum packet length. | |
| #define | KW41ZRF_DEFAULT_CHANNEL (CONFIG_IEEE802154_DEFAULT_CHANNEL) | 
| Default channel used after initialization. | |
| #define | KW41ZRF_DEFAULT_CCA_THRESHOLD (-60) | 
| Default CCA threshold. | |
| #define | KW41ZRF_DEFAULT_LQI_COMPENSATION (102) | 
| Default LQI compensation. | |
| #define | KW41ZRF_DEFAULT_TX_POWER (CONFIG_IEEE802154_DEFAULT_TXPOWER) | 
| Default TX_POWER in dbm used after initialization. | |
| #define | KW41ZRF_OUTPUT_POWER_MAX (4) | 
| Maximum output power of the kw41z device in dBm. | |
| #define | KW41ZRF_OUTPUT_POWER_MIN (-19) | 
| Minimum output power of the kw41z device in dBm. | |
| Typedefs | |
| typedef void(* | kw41zrf_cb_t) (void *arg) | 
| ISR callback function type. | |
| Functions | |
| void | kw41zrf_setup (kw41zrf_t *dev, uint8_t index) | 
| Setup an KW41ZRF based device state. | |
| int | kw41zrf_init (kw41zrf_t *dev, kw41zrf_cb_t cb) | 
| Initialize the given KW41ZRF device. | |
| int | kw41zrf_reset (kw41zrf_t *dev) | 
| Reset radio hardware and restore default settings. | |
| #define | KW41ZRF_MIN_CHANNEL (11U) | 
| Allowed range of channels. | |
| #define | KW41ZRF_MAX_CHANNEL (26U) |