|  | libbladeRF
    2.4.0-git
    Nuand bladeRF library | 
These functions provide the ability to select the tuning mode.
These functions are thread-safe.
| Enumerations | |
| enum | bladerf_tuning_mode { BLADERF_TUNING_MODE_INVALID = -1 , BLADERF_TUNING_MODE_HOST , BLADERF_TUNING_MODE_FPGA } | 
| Functions | |
| API_EXPORT int CALL_CONV | bladerf_set_tuning_mode (struct bladerf *dev, bladerf_tuning_mode mode) | 
| API_EXPORT int CALL_CONV | bladerf_get_tuning_mode (struct bladerf *dev, bladerf_tuning_mode *mode) | 
| enum bladerf_tuning_mode | 
Frequency tuning modes
BLADERF_TUNING_MODE_HOST is the default if either of the following conditions are true:
BLADERF_TUNING_MODE_FPGA is the default if both of the following conditions are true:
The default mode can be overridden by setting a BLADERF_DEFAULT_TUNING_MODE environment variable to host or fpga.
Definition at line 3508 of file libbladeRF.h.
| API_EXPORT int CALL_CONV bladerf_get_tuning_mode | ( | struct bladerf * | dev, | 
| bladerf_tuning_mode * | mode | ||
| ) | 
Get the device's current tuning mode
| dev | Device handle | |
| [in] | mode | Tuning mode | 
| API_EXPORT int CALL_CONV bladerf_set_tuning_mode | ( | struct bladerf * | dev, | 
| bladerf_tuning_mode | mode | ||
| ) | 
Set the device's tuning mode
| dev | Device handle | |
| [in] | mode | Desired tuning mode. Note that the available modes depends on the FPGA version. |