|
发表于 2016-3-17 09:58:34
只看该作者
沙发
你好,QN9021是支持编程功率输出的。
api:
[mw_shl_code=c,false]void rf_tx_power_level_set(enum TX_POWER txpwr);[/mw_shl_code]
可选参数:
[mw_shl_code=c,false]/// RF TX Power
enum TX_POWER
{
TX_GAIN_LEVEL0 = 0, /*!< -20 dBm */
TX_GAIN_LEVEL1, /*!< -18 dBm */
TX_GAIN_LEVEL2, /*!< -16 dBm */
TX_GAIN_LEVEL3, /*!< -14 dBm */
TX_GAIN_LEVEL4, /*!< -12 dBm */
TX_GAIN_LEVEL5, /*!< -10 dBm */
TX_GAIN_LEVEL6, /*!< -8 dBm */
TX_GAIN_LEVEL7, /*!< -6 dBm */
TX_GAIN_LEVEL8, /*!< -4 dBm */
TX_GAIN_LEVEL9, /*!< -2 dBm */
TX_GAIN_LEVEL10, /*!< 0 dBm */
TX_GAIN_LEVEL11, /*!< 2 dBm */
TX_GAIN_LEVEL12, /*!< 4 dBm, Chip need calibration after entering or exiting this level */
TX_GAIN_LEVEL_MAX,
TX_GAIN_LEVEL_ERR
};[/mw_shl_code] |
|