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

Public Attributes#

uint16_t

The highest power level that this segment will be used to convert.

int16_t

slope of the line

int32_t

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.


Definition at line 72 of file plugin/pa-conversions/pa_curve_types_efr32.h

slope#

int16_t RAIL_TxPowerCurveSegment_t::slope

slope of the line


Definition at line 74 of file plugin/pa-conversions/pa_curve_types_efr32.h

intercept#

int32_t RAIL_TxPowerCurveSegment_t::intercept

y-intercept of the line


Definition at line 76 of file plugin/pa-conversions/pa_curve_types_efr32.h