65 #include <hal_types.h>
66 #if !defined(CC26XX_R2)
67 #include <rf_patches/rf_patch_cpe_ble.h>
68 #include <rf_patches/rf_patch_rfe_ble.h>
70 #include <ti/drivers/rf/rf.h>
82 #define TX_POUT( IB, GC, TC ) \
83 (uint16)((((TC) & 0xFF) << 8) | (((GC) & 0x03) << 6) | ((IB) & 0x3F))
114 #define RF_FRONTEND_MODE_MASK 0x07
115 #define RF_FE_DIFFERENTIAL 0
116 #define RF_FE_SINGLE_ENDED_RFP 1
117 #define RF_FE_SINGLE_ENDED_RFN 2
118 #define RF_FE_ANT_DIVERSITY_RFP_FIRST 3
119 #define RF_FE_ANT_DIVERSITY_RFN_FIRST 4
120 #define RF_FE_SINGLE_ENDED_RFP_EXT_PINS 5
121 #define RF_FE_SINGLE_ENDED_RFN_EXT_PINS 6
123 #define RF_BIAS_MODE_MASK 0x08
124 #define RF_FE_INT_BIAS (0<<3)
125 #define RF_FE_EXT_BIAS (1<<3)
127 #if defined(CC2650_LAUNCHXL) || defined(CC2640R2_LAUNCHXL) || defined(CC2650DK_7ID)
129 #define RF_FE_MODE_AND_BIAS (RF_FE_DIFFERENTIAL | RF_FE_EXT_BIAS)
130 #define RF_FE_IOD_NUM 3
131 #define RF_FE_IOD {NULL, NULL, NULL}
132 #define RF_FE_IOD_VAL {NULL, NULL, NULL}
133 #define RF_FE_SATURATION 0
134 #define RF_FE_SENSITIVITY 0
142 #define TX_POWER_5_DBM 5
143 #define TX_POWER_4_DBM 4
144 #define TX_POWER_3_DBM 3
145 #define TX_POWER_2_DBM 2
146 #define TX_POWER_1_DBM 1
147 #define TX_POWER_0_DBM 0
148 #define TX_POWER_MINUS_3_DBM -3
149 #define TX_POWER_MINUS_6_DBM -6
150 #define TX_POWER_MINUS_9_DBM -9
151 #define TX_POWER_MINUS_12_DBM -12
152 #define TX_POWER_MINUS_15_DBM -15
153 #define TX_POWER_MINUS_18_DBM -18
154 #define TX_POWER_MINUS_21_DBM -21
179 ubTxPowerVal_t* pTxPowerVals;
PACKED_TYPEDEF_CONST_STRUCT
Tx Power Value.
Definition: urfc.h:171
uint32 ubRfRegOverride[]
Overrides for CMD_RADIO_SETUP.
const uint8 ubFeModeBias
RF frontend mode bias.
const ubTxPowerTable_t ubTxPowerTable
TX Power table.
uint16 txPowerVal
Tx Power Value.
Definition: urfc.h:173
const RF_Mode ubRfMode
RF Core patch.
uint8 numTxPowerVal
Number of Tx Power Values.
Definition: urfc.h:180