1 #ifndef _FSL_XCVR_H_
2 #define _FSL_XCVR_H_
3 
4 #include "MKW40Z4.h"
5 #include "KW4xXcvrDrv.h"
6 
7 #define Radio_1_IRQn ZigBee_IRQn
8 #define ZIGBEE_MODE ZIGBEE
9 #define XCVR_TSM XCVR
10 #define ZLL_RX_FRAME_FILTER_FRM_VER_FILTER_MASK ZLL_RX_FRAME_FILTER_FRM_VER_MASK
11 #define ZLL_RX_FRAME_FILTER_FRM_VER_FILTER(x) ZLL_RX_FRAME_FILTER_FRM_VER(x)
12 #define XCVR_TSM_END_OF_SEQ_END_OF_RX_WU_MASK XCVR_END_OF_SEQ_END_OF_RX_WU_MASK
13 #define XCVR_TSM_END_OF_SEQ_END_OF_RX_WU_SHIFT XCVR_END_OF_SEQ_END_OF_RX_WU_SHIFT
14 #define XCVR_TSM_END_OF_SEQ_END_OF_TX_WU_MASK XCVR_END_OF_SEQ_END_OF_TX_WU_MASK
15 #define XCVR_TSM_END_OF_SEQ_END_OF_TX_WU_SHIFT XCVR_END_OF_SEQ_END_OF_TX_WU_SHIFT
16 
17 /*! @brief  Data rate selections. Imported from MKW41Z4. */
18 typedef enum _data_rate
19 {
20 	DR_1MBPS = 0, /* Must match bit assignment in BITRATE field */
21 	DR_500KBPS = 1, /* Must match bit assignment in BITRATE field */
22 	DR_250KBPS = 2, /* Must match bit assignment in BITRATE field */
23 #if RADIO_IS_GEN_3P0
24 	DR_2MBPS = 3, /* Must match bit assignment in BITRATE field */
25 #endif /* RADIO_IS_GEN_3P0 */
26 	DR_UNASSIGNED = 4, /* Must match bit assignment in BITRATE field */
27 } data_rate_t;
28 
XCVR_Init(radio_mode_t radio_mode,data_rate_t data_rate)29 xcvrStatus_t XCVR_Init(radio_mode_t radio_mode, data_rate_t data_rate)
30 {
31 	XcvrInit(radio_mode);
32 
33 	return gXcvrSuccess_c;
34 }
35 
36 #endif /* _FSL_XCVR_H_ */
37