Types specific to the EFR32 for dealing with the on-chip PAs.

Data Structures

struct RAIL_TxPowerConfig_t
A structure containing values used to initialize the power amplifiers.

Macros

#define RAIL_TX_POWER_LEVEL_2P4_LP_MAX (7U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_LP mode.
#define RAIL_TX_POWER_LEVEL_2P4_HP_MAX (252U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_HP mode.
#define RAIL_TX_POWER_LEVEL_SUBGIG_HP_MAX (248U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
#define RAIL_TX_POWER_LEVEL_2P4_LP_MIN (1U)
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_LP mode.
#define RAIL_TX_POWER_LEVEL_2P4_HP_MIN (0U)
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_HP mode.
#define RAIL_TX_POWER_LEVEL_SUBGIG_HP_MIN (0U)
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
#define RAIL_TX_POWER_LEVEL_INVALID (255U)
Invalid RAIL_TxPowerLevel_t value returned when an error occurs with RAIL_GetTxPower.
#define RAIL_TX_POWER_LEVEL_MAX (254U)
Sentinel value that can be passed to RAIL_SetTxPower to set the highest power level available on the current PA, regardless of which one is selected.
#define RAIL_TX_POWER_LEVEL_LP_MAX RAIL_TX_POWER_LEVEL_2P4_LP_MAX
Backwards compatibility define.
#define RAIL_TX_POWER_LEVEL_HP_MAX RAIL_TX_POWER_LEVEL_2P4_HP_MAX
Backwards compatibility define.
#define RAIL_TX_POWER_LEVEL_SUBGIG_MAX RAIL_TX_POWER_LEVEL_SUBGIG_HP_MAX
Backwards compatibility define.
#define RAIL_TX_POWER_LEVEL_LP_MIN RAIL_TX_POWER_LEVEL_2P4_LP_MIN
Backwards compatibility define.
#define RAIL_TX_POWER_LEVEL_HP_MIN RAIL_TX_POWER_LEVEL_2P4_HP_MIN
Backwards compatibility define.
#define RAIL_TX_POWER_LEVEL_SUBGIG_MIN RAIL_TX_POWER_LEVEL_SUBGIG_HP_MIN
Backwards compatibility define.
#define RAIL_NUM_PA (3U)
The number of PA's on this chip.
#define RAIL_TX_POWER_MODE_NAMES
The names of the TX power modes.

Typedefs

typedef uint8_t RAIL_TxPowerLevel_t
Raw power levels used directly by the RAIL_Get/SetTxPower API where a higher numerical value corresponds to a higher output power.

Enumerations

enum RAIL_TxPowerMode_t {
RAIL_TX_POWER_MODE_2P4GIG_HP ,
RAIL_TX_POWER_MODE_2P4_HP = RAIL_TX_POWER_MODE_2P4GIG_HP,
RAIL_TX_POWER_MODE_2P4GIG_LP ,
RAIL_TX_POWER_MODE_2P4_LP = RAIL_TX_POWER_MODE_2P4GIG_LP,
RAIL_TX_POWER_MODE_SUBGIG ,
RAIL_TX_POWER_MODE_NONE
}
An enumeration of the EFR32 power modes.

Detailed Description

Types specific to the EFR32 for dealing with the on-chip PAs.

Macro Definition Documentation

RAIL_TX_POWER_MODE_NAMES

#define RAIL_TX_POWER_MODE_NAMES
Value:
{ \
"RAIL_TX_POWER_MODE_2P4GIG_HP" , \
"RAIL_TX_POWER_MODE_2P4GIG_LP" , \
"RAIL_TX_POWER_MODE_SUBGIG_HP" , \
"RAIL_TX_POWER_MODE_NONE" \
}

The names of the TX power modes.

A list of the names for the TX power modes on the EFR32 series 1 parts. This macro is useful for test applications and debugging output.

Definition at line 722 of file rail_chip_specific.h .

Typedef Documentation

RAIL_TxPowerLevel_t

typedef uint8_t RAIL_TxPowerLevel_t

Raw power levels used directly by the RAIL_Get/SetTxPower API where a higher numerical value corresponds to a higher output power.

These are referred to as 'raw (values/units)'. On EFR32, they can range from one of RAIL_TX_POWER_LEVEL_2P4_LP_MIN , RAIL_TX_POWER_LEVEL_2P4_HP_MIN , or RAIL_TX_POWER_LEVEL_SUBGIG_HP_MIN to one of RAIL_TX_POWER_LEVEL_2P4_LP_MAX , RAIL_TX_POWER_LEVEL_2P4_HP_MAX , and RAIL_TX_POWER_LEVEL_SUBGIG_HP_MAX , respectively, depending on the selected RAIL_TxPowerMode_t .

Definition at line 620 of file rail_chip_specific.h .

Enumeration Type Documentation

RAIL_TxPowerMode_t

An enumeration of the EFR32 power modes.

The power modes on the EFR32 correspond to the different on-chip PAs that are available. For more information about the power and performance characteristics of a given amplifier, see the data sheet.

Enumerator
RAIL_TX_POWER_MODE_2P4GIG_HP

High-power amplifier, up to 20 dBm, raw values: 0-252.

RAIL_TX_POWER_MODE_2P4_HP

Deprecated enum equivalent to RAIL_TX_POWER_MODE_2P4GIG_HP .

RAIL_TX_POWER_MODE_2P4GIG_LP

Low-power amplifier, up to 0 dBm, raw values: 1-7.

RAIL_TX_POWER_MODE_2P4_LP

Deprecated enum equivalent to RAIL_TX_POWER_MODE_2P4GIG_LP .

RAIL_TX_POWER_MODE_SUBGIG

SubGig amplifier, up to 20 dBm, raw values: 0-248.

RAIL_TX_POWER_MODE_NONE

Invalid amplifier Selection.

Definition at line 685 of file rail_chip_specific.h .