bladeRF1-specific API
Copyright (C) 2013-2017 Nuand LLC
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file bladeRF1.h.
|
API_EXPORT int CALL_CONV | bladerf_set_txvga2 (struct bladerf *dev, int gain) |
|
API_EXPORT int CALL_CONV | bladerf_get_txvga2 (struct bladerf *dev, int *gain) |
|
API_EXPORT int CALL_CONV | bladerf_set_txvga1 (struct bladerf *dev, int gain) |
|
API_EXPORT int CALL_CONV | bladerf_get_txvga1 (struct bladerf *dev, int *gain) |
|
API_EXPORT int CALL_CONV | bladerf_set_lna_gain (struct bladerf *dev, bladerf_lna_gain gain) |
|
API_EXPORT int CALL_CONV | bladerf_get_lna_gain (struct bladerf *dev, bladerf_lna_gain *gain) |
|
API_EXPORT int CALL_CONV | bladerf_set_rxvga1 (struct bladerf *dev, int gain) |
|
API_EXPORT int CALL_CONV | bladerf_get_rxvga1 (struct bladerf *dev, int *gain) |
|
API_EXPORT int CALL_CONV | bladerf_set_rxvga2 (struct bladerf *dev, int gain) |
|
API_EXPORT int CALL_CONV | bladerf_get_rxvga2 (struct bladerf *dev, int *gain) |
|
API_EXPORT int CALL_CONV | bladerf_set_sampling (struct bladerf *dev, bladerf_sampling sampling) |
|
API_EXPORT int CALL_CONV | bladerf_get_sampling (struct bladerf *dev, bladerf_sampling *sampling) |
|
API_EXPORT int CALL_CONV | bladerf_set_lpf_mode (struct bladerf *dev, bladerf_channel ch, bladerf_lpf_mode mode) |
|
API_EXPORT int CALL_CONV | bladerf_get_lpf_mode (struct bladerf *dev, bladerf_channel ch, bladerf_lpf_mode *mode) |
|
API_EXPORT int CALL_CONV | bladerf_set_smb_mode (struct bladerf *dev, bladerf_smb_mode mode) |
|
API_EXPORT int CALL_CONV | bladerf_get_smb_mode (struct bladerf *dev, bladerf_smb_mode *mode) |
|
API_EXPORT int CALL_CONV | bladerf_set_rational_smb_frequency (struct bladerf *dev, struct bladerf_rational_rate *rate, struct bladerf_rational_rate *actual) |
|
API_EXPORT int CALL_CONV | bladerf_set_smb_frequency (struct bladerf *dev, uint32_t rate, uint32_t *actual) |
|
API_EXPORT int CALL_CONV | bladerf_get_rational_smb_frequency (struct bladerf *dev, struct bladerf_rational_rate *rate) |
|
API_EXPORT int CALL_CONV | bladerf_get_smb_frequency (struct bladerf *dev, unsigned int *rate) |
|
API_EXPORT int CALL_CONV | bladerf_expansion_gpio_read (struct bladerf *dev, uint32_t *val) |
|
API_EXPORT int CALL_CONV | bladerf_expansion_gpio_write (struct bladerf *dev, uint32_t val) |
|
API_EXPORT int CALL_CONV | bladerf_expansion_gpio_masked_write (struct bladerf *dev, uint32_t mask, uint32_t value) |
|
API_EXPORT int CALL_CONV | bladerf_expansion_gpio_dir_read (struct bladerf *dev, uint32_t *outputs) |
|
API_EXPORT int CALL_CONV | bladerf_expansion_gpio_dir_write (struct bladerf *dev, uint32_t outputs) |
|
API_EXPORT int CALL_CONV | bladerf_expansion_gpio_dir_masked_write (struct bladerf *dev, uint32_t mask, uint32_t outputs) |
|
API_EXPORT int CALL_CONV | bladerf_xb200_set_filterbank (struct bladerf *dev, bladerf_channel ch, bladerf_xb200_filter filter) |
|
API_EXPORT int CALL_CONV | bladerf_xb200_get_filterbank (struct bladerf *dev, bladerf_channel ch, bladerf_xb200_filter *filter) |
|
API_EXPORT int CALL_CONV | bladerf_xb200_set_path (struct bladerf *dev, bladerf_channel ch, bladerf_xb200_path path) |
|
API_EXPORT int CALL_CONV | bladerf_xb200_get_path (struct bladerf *dev, bladerf_channel ch, bladerf_xb200_path *path) |
|
API_EXPORT int CALL_CONV | bladerf_xb300_set_trx (struct bladerf *dev, bladerf_xb300_trx trx) |
|
API_EXPORT int CALL_CONV | bladerf_xb300_get_trx (struct bladerf *dev, bladerf_xb300_trx *trx) |
|
API_EXPORT int CALL_CONV | bladerf_xb300_set_amplifier_enable (struct bladerf *dev, bladerf_xb300_amplifier amp, bool enable) |
|
API_EXPORT int CALL_CONV | bladerf_xb300_get_amplifier_enable (struct bladerf *dev, bladerf_xb300_amplifier amp, bool *enable) |
|
API_EXPORT int CALL_CONV | bladerf_xb300_get_output_power (struct bladerf *dev, float *val) |
|
API_EXPORT int CALL_CONV | bladerf_calibrate_dc (struct bladerf *dev, bladerf_cal_module module) |
|
API_EXPORT int CALL_CONV | bladerf_dac_write (struct bladerf *dev, uint16_t val) |
|
API_EXPORT int CALL_CONV | bladerf_dac_read (struct bladerf *dev, uint16_t *val) |
|
API_EXPORT int CALL_CONV | bladerf_si5338_read (struct bladerf *dev, uint8_t address, uint8_t *val) |
|
API_EXPORT int CALL_CONV | bladerf_si5338_write (struct bladerf *dev, uint8_t address, uint8_t val) |
|
API_EXPORT int CALL_CONV | bladerf_lms_read (struct bladerf *dev, uint8_t address, uint8_t *val) |
|
API_EXPORT int CALL_CONV | bladerf_lms_write (struct bladerf *dev, uint8_t address, uint8_t val) |
|
API_EXPORT int CALL_CONV | bladerf_lms_set_dc_cals (struct bladerf *dev, const struct bladerf_lms_dc_cals *dc_cals) |
|
API_EXPORT int CALL_CONV | bladerf_lms_get_dc_cals (struct bladerf *dev, struct bladerf_lms_dc_cals *dc_cals) |
|
API_EXPORT int CALL_CONV | bladerf_xb_spi_write (struct bladerf *dev, uint32_t val) |
|