Testing interfaces for kw2xrf driver. More...
Testing interfaces for kw2xrf driver.
Definition in file 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. | |
enum mkw2xrf_testmode |
Valid test modes to be used with kw2xrf_set_test_mode.
Definition at line 34 of file kw2xrf_tm.h.
int kw2xrf_set_test_mode | ( | kw2xrf_t * | dev, |
uint8_t | mode | ||
) |
Set the test mode for the kw2xrf device.
[in] | dev | Device descriptor |
[in] | mode | Test mode (must be one of mkw2xrf_testmode) |
1 | on success |
!= | 1 otherwise |