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... | |
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.
enum PalRadioPhy_t |
Definition at line 64 of file pal_radio2.h.
enum PalRadioState_t |
Definition at line 46 of file pal_radio2.h.
enum PalRadioStatus_t |
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.
int8_t PalRadioGetAcceptablePowerReduction | ( | int8_t | txPwr | ) |
Get the next acceptable power reduction step.
txPwr | Tx Power(expressed in 1dBm units). |
int8_t PalRadioGetActualTxPower | ( | int8_t | txPwr, |
uint8_t | compFlag | ||
) |
Get the actual Tx power at the antenna (expressed in 1dBm units).
txPwr | Tx power provided by the host (expressed in 1dBm units). |
compFlag | Flag to apply Tx path compensation or not. |
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.
void PalRadioGetSupTxPower | ( | int8_t * | pMinTxPwr, |
int8_t * | pMaxTxPwr | ||
) |
Get supported transmit power.
pMinTxPwr | Return buffer for minimum transmit power (expressed in 1dBm units). |
pMaxTxPwr | Return buffer for maximum transmit power (expressed in 1dBm units). |
int8_t PalRadioIncreasePower | ( | int8_t | reqPwr, |
int8_t | delta | ||
) |
Request an increase in power.
reqPwr | Requested Power. |
delta | Delta |
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.
pTxPathComp | Return buffer for RF transmit path compensation value (expressed in 0.1dBm units). |
pRxPathComp | Return 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.
txPathComp | RF transmit path compensation value (expressed in 0.1dBm units). |
rxPathComp | RF receive path compensation value (expressed in 0.1dBm units). |