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_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_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_MAX (248U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
#define RAIL_TX_POWER_LEVEL_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_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_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.

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_2P4_HP ,
RAIL_TX_POWER_MODE_2P4_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.

Typedef Documentation

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_LP_MIN , RAIL_TX_POWER_LEVEL_HP_MIN , or RAIL_TX_POWER_LEVEL_SUBGIG_MIN to one of RAIL_TX_POWER_LEVEL_LP_MAX , RAIL_TX_POWER_LEVEL_HP_MAX , and RAIL_TX_POWER_LEVEL_SUBGIG_MAX , respectively, depending on the selected RAIL_TxPowerMode_t .

Definition at line 439 of file rail_chip_specific.h .

Enumeration Type Documentation

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_2P4_HP

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

RAIL_TX_POWER_MODE_2P4_LP

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

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 485 of file rail_chip_specific.h .