Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/lora/
Dsx127x.c452 uint8_t pa_config = 0; in SX127xSetRfTxPower() local
466 pa_config |= SX127X_PACONFIG_PASELECT_PABOOST; in SX127xSetRfTxPower()
469 pa_config |= (power - 5) & SX127X_PACONFIG_OUTPUTPOWER_MASK; in SX127xSetRfTxPower()
472 pa_config |= (power - 2) & SX127X_PACONFIG_OUTPUTPOWER_MASK; in SX127xSetRfTxPower()
481 pa_config |= 7 << SX127X_PACONFIG_MAX_POWER_SHIFT; in SX127xSetRfTxPower()
482 pa_config |= power & SX127X_PACONFIG_OUTPUTPOWER_MASK; in SX127xSetRfTxPower()
485 pa_config |= (power + 4) & SX127X_PACONFIG_OUTPUTPOWER_MASK; in SX127xSetRfTxPower()
491 pa_config |= (power + 1) & SX127X_PACONFIG_OUTPUTPOWER_MASK; in SX127xSetRfTxPower()
500 ret = sx127x_write(REG_PACONFIG, &pa_config, 1); in SX127xSetRfTxPower()