34 #define FIXUP_INTERFACE_TIMING 1 38 #define CHECK_SAMPLE_RATES 2 43 # ifdef LIBAD9361_EXPORTS 44 # define __api __declspec(dllexport) 46 # define __api __declspec(dllimport) 48 #elif __GNUC__ >= 4 && !defined(MATLAB_MEX_FILE) && !defined(MATLAB_LOADLIBRARY) 49 # define __api __attribute__((visibility ("default"))) 104 struct iio_device **slaves,
unsigned int num_slaves,
113 struct iio_context *ctx,
unsigned int flags);
148 short *taps,
int *num_taps,
int *gain);
158 unsigned long rate_gov,
159 unsigned long *rx_path_clks,
160 unsigned long *tx_path_clks);
170 unsigned long sample_rate);
196 unsigned long rate,
unsigned long Fpass,
197 unsigned long Fstop,
unsigned long wnom_tx,
198 unsigned long wnom_rx);
double wnom
RF bandwidth of analog filter in hertz.
Definition: ad9361.h:78
__api int ad9361_multichip_sync(struct iio_device *master, struct iio_device **slaves, unsigned int num_slaves, unsigned int flags)
Multi-chip synchronization (MCS) management.
Definition: ad9361_multichip_sync.c:42
double RFbw
3dB corner of analog filter in hertz
Definition: ad9361.h:74
double HB2
Decimation/Interpolation setting of HB2 [1,2].
Definition: ad9361.h:85
Custom Filter Design Parameters.
Definition: ad9361.h:64
__api int ad9361_calculate_rf_clock_chain(unsigned long tx_sample_rate, unsigned long rate_gov, unsigned long *rx_path_clks, unsigned long *tx_path_clks)
Calculate the clock path rates for both transmit and receiver paths.
Definition: ad9361_calculate_rf_clock_chain.c:177
double caldiv
Baseband analog filter calibration divider setting [1-511].
Definition: ad9361.h:68
double Fpass
Stop edge frequency in hertz of passband.
Definition: ad9361.h:66
double HB1
Decimation/Interpolation setting of HB1 [1,2].
Definition: ad9361.h:70
__api int ad9361_get_trx_fir_enable(struct iio_device *dev, int *enable)
Get current enable value of transmit and receiver FIRs.
Definition: ad9361_baseband_auto_rate.c:64
double int_FIR
Enable use of internal FIR filter [0,1].
Definition: ad9361.h:80
const char * RxTx
Filter path [Tx,Rx].
Definition: ad9361.h:73
__api int ad9361_generate_fir_taps(struct filter_design_parameters *parameters, short *taps, int *num_taps, int *gain)
Design custom FIR filter from specific design criteria.
Definition: ad9361_design_taps.c:37
double FIR
Decimation/Interpolation setting of FIR [1,2,4].
Definition: ad9361.h:69
double FIRdBmin
Minimum stop band attentuation of the FIR in dB.
Definition: ad9361.h:79
const char * Type
Designer mode (only Lowpass supported)
Definition: ad9361.h:72
double PLL_mult
Ratio of converter to PLL rate.
Definition: ad9361.h:81
double DAC_div
Divider enable setting of DAC clock [0,1].
Definition: ad9361.h:71
double HB3
Decimation/Interpolation setting of HB3 [1,2,3].
Definition: ad9361.h:86
double Rdata
Data rate of digital interface.
Definition: ad9361.h:65
__api int ad9361_calculate_rf_clock_chain_fdp(struct filter_design_parameters *fdpTX, struct filter_design_parameters *fdpRX, unsigned long sample_rate)
Calculate the clock path rates and default filter settings for both transmit and receiver for a desir...
Definition: ad9361_design_taps.c:305
__api int ad9361_set_bb_rate_custom_filter_manual(struct iio_device *dev, unsigned long rate, unsigned long Fpass, unsigned long Fstop, unsigned long wnom_tx, unsigned long wnom_rx)
Baseband rate configuration with custom filter support based on desired baseband sample rate and simp...
Definition: ad9361_design_taps.c:359
__api int ad9361_set_bb_rate_custom_filter_auto(struct iio_device *dev, unsigned long rate)
Baseband rate configuration with custom filter support based on desired baseband sample rate...
Definition: ad9361_design_taps.c:326
double Fstop
Start edge frequency in hertz of stopband.
Definition: ad9361.h:67
double Astop
Desired stopband attenuation in dB.
Definition: ad9361.h:83
double maxTaps
Maximum allowed FIR taps.
Definition: ad9361.h:87
__api int ad9361_set_trx_fir_enable(struct iio_device *dev, int enable)
Enable or disable transmit and receiver FIRs simultaneously.
Definition: ad9361_baseband_auto_rate.c:54
double PLL_rate
Rate of PLL in hertz.
Definition: ad9361.h:76
__api int ad9361_fmcomms5_phase_sync(struct iio_context *ctx, long long lo)
FMComms5 phase synchronize all TX and RX channels together.
Definition: ad9361_fmcomms5_phase_sync.c:577
double phEQ
Enable phase equalization [0,1].
Definition: ad9361.h:84
double Apass
Desired passband ripple in dB.
Definition: ad9361.h:82
__api int ad9361_fmcomms5_multichip_sync(struct iio_context *ctx, unsigned int flags)
FMComms5 specific MCS management.
Definition: ad9361_multichip_sync.c:118
__api int ad9361_set_bb_rate(struct iio_device *dev, unsigned long rate)
Baseband rate configuration with generic filter support.
Definition: ad9361_baseband_auto_rate.c:80
double Fcenter
Center frequency in hertz of bandpass (Unused)
Definition: ad9361.h:77
double converter_rate
Rate of ADC in hertz.
Definition: ad9361.h:75