Mistake on this page?
Report an issue in GitHub or email us
Typedefs | Enumerations | Functions
PAL_RADIO

Typedefs

typedef void(* PalRadioTxComp_t) (PalRadioStatus_t status)
 Tx completion call signature. More...
 
typedef void(* PalRadioRxComp_t) (PalRadioStatus_t status, uint32_t tstamp, PalRadioPhy_t phy, int8_t rssi)
 Rx completion call signature. More...
 

Enumerations

Functions

void PalRadioInitPathComp (void)
 Initialize RF path compensation. More...
 
int8_t PalRadioGetActualTxPower (int8_t txPwr, uint8_t compFlag)
 Get the actual Tx power at the antenna (expressed in 1dBm units). More...
 
int8_t PalRadioIncreasePower (int8_t reqPwr, int8_t delta)
 Request an increase in power. More...
 
int8_t PalRadioGetAcceptablePowerReduction (int8_t txPwr)
 Get the next acceptable power reduction step. More...
 
uint8_t PalRadioWriteRfPathComp (int16_t txPathComp, int16_t rxPathComp)
 Set RF path compensation. More...
 
void PalRadioGetSupTxPower (int8_t *pMinTxPwr, int8_t *pMaxTxPwr)
 Get supported transmit power. More...
 
void PalRadioReadRfPathComp (int16_t *pTxPathComp, int16_t *pRxPathComp)
 Read RF path compensation. More...
 
int8_t PalRadioGetRxRfPathComp (void)
 Get receive RF path compensation. More...
 

Detailed Description

Typedef Documentation

typedef void(* PalRadioRxComp_t) (PalRadioStatus_t status, uint32_t tstamp, PalRadioPhy_t phy, int8_t rssi)

Rx completion call signature.

Definition at line 77 of file pal_radio2.h.

typedef void(* PalRadioTxComp_t) (PalRadioStatus_t status)

Tx completion call signature.

Definition at line 74 of file pal_radio2.h.

Enumeration Type Documentation

Enumerator
PAL_RADIO_PHY_1M 

1M PHY.

PAL_RADIO_PHY_2M 

2M PHY.

PAL_RADIO_PHY_CODED_DEFAULT 

Coded with options not specified.

PAL_RADIO_PHY_CODED_S2 

Coded S2 PHY (500-kbps).

PAL_RADIO_PHY_CODED_S8 

Coded S8 PHY (128-kbps).

Definition at line 64 of file pal_radio2.h.

Enumerator
PAL_RADIO_STATE_UNINIT 

Uninitialized state.

PAL_RADIO_STATE_ERROR 

Error state.

PAL_RADIO_STATE_IDLE 

Idle state.

PAL_RADIO_STATE_TX 

Tx state.

PAL_RADIO_STATE_RX 

Rx state.

PAL_RADIO_STATE_DIAG 

Diagnostics state.

Definition at line 46 of file pal_radio2.h.

Enumerator
PAL_RADIO_STATUS_SUCCESS 

Operation completed successfully.

PAL_RADIO_STATUS_FAILED 

General failure.

PAL_RADIO_STATUS_TIMEOUT 

Rx timed out.

PAL_RADIO_STATUS_CRC_FAILED 

Rx CRC match failed.

Definition at line 56 of file pal_radio2.h.

Function Documentation

int8_t PalRadioGetAcceptablePowerReduction ( int8_t  txPwr)

Get the next acceptable power reduction step.

Parameters
txPwrTx Power(expressed in 1dBm units).
Returns
Lowest acceptable power reduction size.
int8_t PalRadioGetActualTxPower ( int8_t  txPwr,
uint8_t  compFlag 
)

Get the actual Tx power at the antenna (expressed in 1dBm units).

Parameters
txPwrTx power provided by the host (expressed in 1dBm units).
compFlagFlag to apply Tx path compensation or not.
Returns
Actual Tx power at the antenna (expressed in 1dBm units).

Tx path compensation is only used for extended ADV header. Compensation is not considered when filling in HCI events.

int8_t PalRadioGetRxRfPathComp ( void  )

Get receive RF path compensation.

Returns
Transmit RF path compensation (in 1-dBm units).
void PalRadioGetSupTxPower ( int8_t *  pMinTxPwr,
int8_t *  pMaxTxPwr 
)

Get supported transmit power.

Parameters
pMinTxPwrReturn buffer for minimum transmit power (expressed in 1dBm units).
pMaxTxPwrReturn buffer for maximum transmit power (expressed in 1dBm units).
int8_t PalRadioIncreasePower ( int8_t  reqPwr,
int8_t  delta 
)

Request an increase in power.

Parameters
reqPwrRequested Power.
deltaDelta
Returns
TxPower to be set
        If increasing power: the controller will increase one step if possible.
        If decreasing power: the controller will only decrease to the ceiling step.
void PalRadioInitPathComp ( void  )

Initialize RF path compensation.

void PalRadioReadRfPathComp ( int16_t *  pTxPathComp,
int16_t *  pRxPathComp 
)

Read RF path compensation.

Parameters
pTxPathCompReturn buffer for RF transmit path compensation value (expressed in 0.1dBm units).
pRxPathCompReturn buffer for RF receive path compensation value (expressed in 0.1dBm units).
uint8_t PalRadioWriteRfPathComp ( int16_t  txPathComp,
int16_t  rxPathComp 
)

Set RF path compensation.

Parameters
txPathCompRF transmit path compensation value (expressed in 0.1dBm units).
rxPathCompRF receive path compensation value (expressed in 0.1dBm units).
Returns
TRUE if successful, FALSE otherwise.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.