Loading...
Searching...
No Matches
kw2xrf_tm.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2016 Phytec Messtechnik GmbH
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include "kw2xrf.h"
23#include "kw2xrf_reg.h"
24#include "kw2xrf_getset.h"
25#include "net/netopt.h"
26
31 KW2XRF_TM_CTX_PREAMBLE = NETOPT_RF_TESTMODE_CTX_PRBS9 + 1,
32 KW2XRF_TM_CTX_2MHZ,
33 KW2XRF_TM_CTX_200KHZ,
34 KW2XRF_TM_CTX_1MBPS_PRBS9,
35 KW2XRF_TM_CTX_EXT,
36 KW2XRF_TM_CTX_NM0,
37 KW2XRF_TM_CTX_NM1,
38};
39
49int kw2xrf_set_test_mode(kw2xrf_t *dev, uint8_t mode);
50
51#ifdef __cplusplus
52}
53#endif
54
@ NETOPT_RF_TESTMODE_CTX_PRBS9
PRBS9 continuous tx mode.
Definition netopt.h:927
Interface definition for the kw2xrf driver.
get/set interfaces for kw2xrf driver
Register and command definitions for the MKW2XD Modem.
mkw2xrf_testmode
Valid test modes to be used with kw2xrf_set_test_mode.
Definition kw2xrf_tm.h:30
int kw2xrf_set_test_mode(kw2xrf_t *dev, uint8_t mode)
Set the test mode for the kw2xrf device.
Definition of global configuration options.
Device descriptor for KW2XRF radio devices.
Definition kw2xrf.h:115