MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Rf

Overview

Files

file  fsl_rf.h
 

Enumerations

enum  tx_power_t {
  kTxPowerMinimum = 0U,
  kTxPowerMinus30dBm,
  kTxPowerMinus25dBm,
  kTxPowerMinus20dBm,
  kTxPowerMinus18dBm,
  kTxPowerMinus16dBm,
  kTxPowerMinus14dBm,
  kTxPowerMinus12dBm,
  kTxPowerMinus10dBm,
  kTxPowerMinus9dBm,
  kTxPowerMinus8dBm,
  kTxPowerMinus7dBm,
  kTxPowerMinus6dBm,
  kTxPowerMinus5dBm,
  kTxPowerMinus4dBm,
  kTxPowerMinus3dBm,
  kTxPowerMinus2dBm,
  kTxPowerMinus1dBm,
  kTxPower0dBm,
  kTxPower1dBm,
  kTxPower2dBm
}
 Output power at SMA socket, depends on off-chip RF circuit on PCB. More...
 
enum  rx_mode_t {
  kRxModeHighPerformance = 0U,
  kRxModeBalanced,
  kRxModeHighEfficiency
}
 Rx mode of the chip. More...
 

Functions

void RF_SetTxPowerLevel (SYSCON_Type *base, tx_power_t txpwr)
 Set Tx Power setting. More...
 
tx_power_t RF_GetTxPowerLevel (SYSCON_Type *base)
 Get Tx Power setting value. More...
 
void RF_ConfigRxMode (SYSCON_Type *base, rx_mode_t rm)
 Set Rx mode. More...
 

Driver version

#define FSL_QN9080_RADIO_FREQUENCY_VERSION   (MAKE_VERSION(2, 0, 0))
 QN9080 radio frequency version 2.0.0. More...
 

Macro Definition Documentation

#define FSL_QN9080_RADIO_FREQUENCY_VERSION   (MAKE_VERSION(2, 0, 0))

Enumeration Type Documentation

enum tx_power_t
Enumerator
kTxPowerMinimum 

<-30dBm

kTxPowerMinus30dBm 

-30 dBm

kTxPowerMinus25dBm 

-25 dBm

kTxPowerMinus20dBm 

-20 dBm

kTxPowerMinus18dBm 

-18 dBm

kTxPowerMinus16dBm 

-16 dBm

kTxPowerMinus14dBm 

-14 dBm

kTxPowerMinus12dBm 

-12 dBm

kTxPowerMinus10dBm 

-10 dBm

kTxPowerMinus9dBm 

-9 dBm

kTxPowerMinus8dBm 

-8 dBm

kTxPowerMinus7dBm 

-7 dBm

kTxPowerMinus6dBm 

-6 dBm

kTxPowerMinus5dBm 

-5 dBm

kTxPowerMinus4dBm 

-4 dBm

kTxPowerMinus3dBm 

-3 dBm

kTxPowerMinus2dBm 

-2 dBm

kTxPowerMinus1dBm 

-1 dBm

kTxPower0dBm 

0 dBm

kTxPower1dBm 

1 dBm

kTxPower2dBm 

2 dBm

enum rx_mode_t
Enumerator
kRxModeHighPerformance 

High performance mode, but the power consumption is high.

kRxModeBalanced 

Balanced mode, a trade-off between performance and power consumpiton.

kRxModeHighEfficiency 

High efficiency mode, but rx performance will not be so good.

Function Documentation

void RF_SetTxPowerLevel ( SYSCON_Type *  base,
tx_power_t  txpwr 
)
Parameters
txpwrtx power level defined by enum
tx_power_t RF_GetTxPowerLevel ( SYSCON_Type *  base)
Returns
Tx Power setting value defined by enum
void RF_ConfigRxMode ( SYSCON_Type *  base,
rx_mode_t  rm 
)
Parameters
Rxmode defined by enum