Home
last modified time | relevance | path

Searched refs:powerIndex (Results 1 – 1 of 1) sorted by relevance

/hal_silabs-3.5.0/gecko/platform/radio/rail_lib/plugin/pa-conversions/
Dpa_conversions_efr32.c267 uint32_t powerIndex = (power - minPower) / step; in RAIL_ConvertDbmToRaw() local
268 …RAIL_SetPaPowerSetting(railHandle, modeInfo->conversion.mappingTable[powerIndex], minPower, maxPow… in RAIL_ConvertDbmToRaw()
279 uint32_t powerIndex = modeInfo->max - minPowerLevel; in RAIL_ConvertDbmToRaw() local
281 while (lower < powerIndex) { in RAIL_ConvertDbmToRaw()
283 uint32_t index = powerIndex - (powerIndex - lower) / 2U; in RAIL_ConvertDbmToRaw()
285 powerIndex = index - 1U; in RAIL_ConvertDbmToRaw()
290 return (RAIL_TxPowerLevel_t)(powerIndex + minPowerLevel); in RAIL_ConvertDbmToRaw()