Structure containing data defining each segment of the power (deci-dBm) to powerLevel (raw) mapping curve fits.
Note, these used in an equation of the form:
powerLevel * 1000 = slope * power + intercept
powerLevel is the 0-252/0-248/1-7 values used in the RAIL_Get/SetTxPower functions, and power is the actual output power of the PA, specified in deci-dBm.
Note
If the curves are generated with maxPower and increment other than RAIL_TX_POWER_CURVE_DEFAULT_MAX and RAIL_TX_POWER_CURVE_DEFAULT_INCREMENT respectively, then the first RAIL_TxPowerCurveSegment_t has its maxPowerLevel equal to RAIL_TX_POWER_LEVEL_INVALID and its slope and intercept stores the maxPower and increment in deci-dBm respectively.
Public Attributes#
The highest power level that this segment will be used to convert.
slope of the line
y-intercept of the line
Public Attribute Documentation#
maxPowerLevel#
uint16_t RAIL_TxPowerCurveSegment_t::maxPowerLevel
The highest power level that this segment will be used to convert.
72
of file plugin/pa-conversions/pa_curve_types_efr32.h
slope#
int16_t RAIL_TxPowerCurveSegment_t::slope
slope of the line
74
of file plugin/pa-conversions/pa_curve_types_efr32.h
intercept#
int32_t RAIL_TxPowerCurveSegment_t::intercept
y-intercept of the line
76
of file plugin/pa-conversions/pa_curve_types_efr32.h