RFFE Radio Frequency Front End Function Documentation
Sys_RFFE_GetTXPower
int8_t Sys_RFFE_GetTXPower(uint32_t lsad_channel)
Location: rffe.h:173
Parameters
Direction | Name | Description |
---|---|---|
in |
lsad_channel |
The LSAD channel used for measuring VDDRF |
Return
Example Code for Sys_RFFE_GetTXPower |
// Use LSAD channel 0 to measure VDDRF if neccessary to determine the currently // set TX output power. result = Sys_RFFE_GetTXPower(0); |
Sys_RFFE_SetTXPower
uint32_t Sys_RFFE_SetTXPower(int8_t target, uint8_t lsad_channel, bool pa_en)
Location: rffe.h:193
Parameters
Direction | Name | Description |
---|---|---|
in |
target |
Target transmission power in the range from -17 to +6 dBm in 1 dBm increments. |
in |
lsad_channel |
LSAD channel to use to measure rails, if necessary. |
in |
pa_en |
If 1, the power amplifier will be enabled, otherwise, it will be disabled. The power amplifier will be enabled regardless if 'target' is greater than 2. |
Return
Example Code for Sys_RFFE_SetTXPower |
// Set the TX power for the device to 6 dBm, uses LSAD channel 0 to measure // (unused in the case of 6 dBm), and enables VDDPA. result = Sys_RFFE_SetTXPower(6, 0, VDDPA_EN); |