EFR32#
Types specific to the EFR32 for dealing with the on-chip PAs.
Modules#
Enumerations#
An enumeration of the EFR32 power modes.
Typedefs#
Raw power levels used directly by the RAIL_Get/SetTxPower API where a higher numerical value corresponds to a higher output power.
PA power setting used directly by the RAIL_GetPaPowerSetting() and RAIL_SetPaPowerSetting() APIs which is decoded to the actual hardware register value(s).
Macros#
Returned by RAIL_GetPaPowerSetting when the device does not support the dBm to power setting mapping table.
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_LP mode.
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_HP mode.
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_LP mode.
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_HP mode.
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
Invalid RAIL_TxPowerLevel_t value returned when an error occurs with RAIL_GetTxPower.
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.
Backwards compatibility define.
Backwards compatibility define.
Backwards compatibility define.
Backwards compatibility define.
Backwards compatibility define.
Backwards compatibility define.
The number of PA's on this chip.
The names of the TX power modes.
Enumeration Documentation#
RAIL_TxPowerMode_t#
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_2P4GIG_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. |
825
of file chip/efr32/efr32xg1x/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.
747
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_PaPowerSetting_t#
typedef uint32_t RAIL_PaPowerSetting_t
PA power setting used directly by the RAIL_GetPaPowerSetting() and RAIL_SetPaPowerSetting() APIs which is decoded to the actual hardware register value(s).
754
of file chip/efr32/efr32xg1x/rail_chip_specific.h
Macro Definition Documentation#
RAIL_TX_PA_POWER_SETTING_UNSUPPORTED#
#define RAIL_TX_PA_POWER_SETTING_UNSUPPORTEDValue:
(0U)
Returned by RAIL_GetPaPowerSetting when the device does not support the dBm to power setting mapping table.
760
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_2P4_LP_MAX#
#define RAIL_TX_POWER_LEVEL_2P4_LP_MAXValue:
(7U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_LP mode.
766
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_2P4_HP_MAX#
#define RAIL_TX_POWER_LEVEL_2P4_HP_MAXValue:
(252U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_HP mode.
771
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_SUBGIG_HP_MAX#
#define RAIL_TX_POWER_LEVEL_SUBGIG_HP_MAXValue:
(248U)
The maximum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
776
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_2P4_LP_MIN#
#define RAIL_TX_POWER_LEVEL_2P4_LP_MINValue:
(1U)
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_LP mode.
781
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_2P4_HP_MIN#
#define RAIL_TX_POWER_LEVEL_2P4_HP_MINValue:
(0U)
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_2P4_HP mode.
786
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_SUBGIG_HP_MIN#
#define RAIL_TX_POWER_LEVEL_SUBGIG_HP_MINValue:
(0U)
The minimum valid value for the RAIL_TxPowerLevel_t when in RAIL_TX_POWER_MODE_SUBGIG mode.
791
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_INVALID#
#define RAIL_TX_POWER_LEVEL_INVALIDValue:
(255U)
Invalid RAIL_TxPowerLevel_t value returned when an error occurs with RAIL_GetTxPower.
796
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_MAX#
#define RAIL_TX_POWER_LEVEL_MAXValue:
(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.
802
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_LP_MAX#
#define RAIL_TX_POWER_LEVEL_LP_MAXValue:
RAIL_TX_POWER_LEVEL_2P4_LP_MAX
Backwards compatibility define.
805
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_HP_MAX#
#define RAIL_TX_POWER_LEVEL_HP_MAXValue:
RAIL_TX_POWER_LEVEL_2P4_HP_MAX
Backwards compatibility define.
807
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_SUBGIG_MAX#
#define RAIL_TX_POWER_LEVEL_SUBGIG_MAXValue:
RAIL_TX_POWER_LEVEL_SUBGIG_HP_MAX
Backwards compatibility define.
809
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_LP_MIN#
#define RAIL_TX_POWER_LEVEL_LP_MINValue:
RAIL_TX_POWER_LEVEL_2P4_LP_MIN
Backwards compatibility define.
811
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_HP_MIN#
#define RAIL_TX_POWER_LEVEL_HP_MINValue:
RAIL_TX_POWER_LEVEL_2P4_HP_MIN
Backwards compatibility define.
813
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_LEVEL_SUBGIG_MIN#
#define RAIL_TX_POWER_LEVEL_SUBGIG_MINValue:
RAIL_TX_POWER_LEVEL_SUBGIG_HP_MIN
Backwards compatibility define.
815
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_MODE_2P4_HP#
#define RAIL_TX_POWER_MODE_2P4_HPValue:
RAIL_TX_POWER_MODE_2P4GIG_HP
DeprecatedPlease use RAIL_TX_POWER_MODE_2P4GIG_HP instead.
837
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_MODE_2P4_LP#
#define RAIL_TX_POWER_MODE_2P4_LPValue:
RAIL_TX_POWER_MODE_2P4GIG_LP
DeprecatedPlease use RAIL_TX_POWER_MODE_2P4GIG_LP instead.
839
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_NUM_PA#
#define RAIL_NUM_PAValue:
(3U)
The number of PA's on this chip.
(Including Virtual PAs)
844
of file chip/efr32/efr32xg1x/rail_chip_specific.h
RAIL_TX_POWER_MODE_NAMES#
#define RAIL_TX_POWER_MODE_NAMESValue:
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.
861
of file chip/efr32/efr32xg1x/rail_chip_specific.h