TI BLE-Stack for Bluetooth 4.2 API Documentation  3.01.00.07
Macros | Variables
urfc.h File Reference

Detailed Description

This file contains configurable variables for the Micro BLE Stack radio.

In general, the configuration values vary by device type, device version and board characteristics. The definitions and values listed in urfcfg.h and urfcfg.c can be changed or more sets of definitions and values can be added, depending on which version/type of device and what characteristics the board has.

Note
User configurable variables except the elements of the power table are only used during the initialization of the MAC. Changing the values of these variables except power table elements after this will have no effect.

Go to the source code of this file.

Macros

#define RF_BIAS_MODE_MASK   0x08
 RF Bias Mode Mask.
 
#define RF_FE_ANT_DIVERSITY_RFN_FIRST   4
 Antenna Diveristy RFN First.
 
#define RF_FE_ANT_DIVERSITY_RFP_FIRST   3
 Antenna Diversity RFP First.
 
#define RF_FE_DIFFERENTIAL   0
 Differential.
 
#define RF_FE_EXT_BIAS   (1<<3)
 External Bias.
 
#define RF_FE_INT_BIAS   (0<<3)
 Internal Bias.
 
#define RF_FE_IOD   {NULL, NULL, NULL}
 IOD.
 
#define RF_FE_IOD_NUM   3
 IOD Number.
 
#define RF_FE_IOD_VAL   {NULL, NULL, NULL}
 IOD Value.
 
#define RF_FE_MODE_AND_BIAS   (RF_FE_DIFFERENTIAL | RF_FE_EXT_BIAS)
 RF Front End Mode and Bias Configuration.
 
#define RF_FE_SATURATION   0
 // RF FE saturation
 
#define RF_FE_SENSITIVITY   0
 // RF FE sensitivity
 
#define RF_FE_SINGLE_ENDED_RFN   2
 Single Ended RFN.
 
#define RF_FE_SINGLE_ENDED_RFN_EXT_PINS   6
 Single Ended RFN External Pins.
 
#define RF_FE_SINGLE_ENDED_RFP   1
 Single Ended RFP.
 
#define RF_FE_SINGLE_ENDED_RFP_EXT_PINS   5
 Single Ended RFP External Pins.
 
#define RF_FRONTEND_MODE_MASK   0x07
 Frontend Mode Mask.
 
#define TX_POUT(IB, GC, TC)   (uint16)((((TC) & 0xFF) << 8) | (((GC) & 0x03) << 6) | ((IB) & 0x3F))
 TX power table calculation. More...
 
#define TX_POWER_0_DBM   0
 0 dBm
 
#define TX_POWER_1_DBM   1
 1 dBm
 
#define TX_POWER_2_DBM   2
 2 dBm
 
#define TX_POWER_3_DBM   3
 3 dBm
 
#define TX_POWER_4_DBM   4
 4 dBm
 
#define TX_POWER_5_DBM   5
 5 dBm
 
#define TX_POWER_MINUS_12_DBM   -12
 -12 dBm
 
#define TX_POWER_MINUS_15_DBM   -15
 -15 dBm
 
#define TX_POWER_MINUS_18_DBM   -18
 -18 dBm
 
#define TX_POWER_MINUS_21_DBM   -21
 -21 dBm
 
#define TX_POWER_MINUS_3_DBM   -3
 -3 dBm
 
#define TX_POWER_MINUS_6_DBM   -6
 -6 dBm
 
#define TX_POWER_MINUS_9_DBM   -9
 -9 dBm
 

Variables

uint8 numTxPowerVal
 Number of Tx Power Values.
 
 PACKED_TYPEDEF_CONST_STRUCT
 dBm More...
 
uint16 txPowerVal
 Tx Power Value.
 
const uint8 ubFeModeBias
 RF frontend mode bias.
 
const RF_Mode ubRfMode
 RF Core patch.
 
uint32 ubRfRegOverride []
 Overrides for CMD_RADIO_SETUP.
 
const ubTxPowerTable_t ubTxPowerTable
 TX Power table.
 
 ubTxPowerTable_t
 Tx Power Table.
 
 ubTxPowerVal_t
 Tx Power Value.
 
Copyright 2017, Texas Instruments Incorporated