Loading...
Searching...
No Matches
kw2xrf_tm.h File Reference

Testing interfaces for kw2xrf driver. More...

Detailed Description

Testing interfaces for kw2xrf driver.

Author
Johann Fischer j.fis.nosp@m.cher.nosp@m.@phyt.nosp@m.ec.d.nosp@m.e

Definition in file kw2xrf_tm.h.

#include "kw2xrf.h"
#include "kw2xrf_reg.h"
#include "kw2xrf_getset.h"
#include "net/netopt.h"
+ Include dependency graph for kw2xrf_tm.h:

Go to the source code of this file.

enum  mkw2xrf_testmode {
  KW2XRF_TM_CTX_PREAMBLE = NETOPT_RF_TESTMODE_CTX_PRBS9 + 1 , KW2XRF_TM_CTX_2MHZ , KW2XRF_TM_CTX_200KHZ , KW2XRF_TM_CTX_1MBPS_PRBS9 ,
  KW2XRF_TM_CTX_EXT , KW2XRF_TM_CTX_NM0 , KW2XRF_TM_CTX_NM1
}
 Valid test modes to be used with kw2xrf_set_test_mode. More...
 
int kw2xrf_set_test_mode (kw2xrf_t *dev, uint8_t mode)
 Set the test mode for the kw2xrf device.
 

Enumeration Type Documentation

◆ mkw2xrf_testmode

Valid test modes to be used with kw2xrf_set_test_mode.

Definition at line 34 of file kw2xrf_tm.h.

Function Documentation

◆ kw2xrf_set_test_mode()

int kw2xrf_set_test_mode ( kw2xrf_t dev,
uint8_t  mode 
)

Set the test mode for the kw2xrf device.

Parameters
[in]devDevice descriptor
[in]modeTest mode (must be one of mkw2xrf_testmode)
Return values
1on success
!=1 otherwise