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 "net/ieee802154/radio.h"
Include dependency graph for kw41zrf.h:
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. | |
| #define | KW41ZRF_CCATYPE_MODE1 (1U) |
| CCA modes. | |
| #define | KW41ZRF_CCATYPE_MODE2 (2U) |
| CCA Mode 2 - Carrier Sense. | |
| #define | KW41ZRF_CCATYPE_MODE3 (3U) |
| CCA Mode 3 - Combined. | |
| #define | KW41ZRF_MAX_BOOT_RETRIES (9) |
| Maximum number of boot retries for the KW41Z radio. | |
Typedefs | |
| typedef void(* | kw41zrf_cb_t) (void *arg) |
| ISR callback function type. | |
Functions | |
| void | kw41zrf_hal_setup (ieee802154_dev_t *hal) |
| Setup KW41Z in order to be used with the IEEE 802.15.4 Radio HAL. | |
| int | kw41zrf_init (void) |
| Initialize the given KW41ZRF device. | |
| int | kw41zrf_reset_hardware (kw41zrf_t *dev) |
| Reset radio hardware and restore default settings. | |
| void | kw41zrf_print_irq_state (void) |
| Print ZLL IRQSTS register state. | |
| void | kw41zrf_print_phy_ctrl (void) |
| Print ZLL PHY_CTRL register state. | |
| void | kw41zrf_print_seq_ctrl_sts (void) |
| Print ZLL SEQ_CTRL_STS register state. | |
| #define | KW41ZRF_MIN_CHANNEL (11U) |
| Allowed range of channels. | |
| #define | KW41ZRF_MAX_CHANNEL (26U) |