/**************************************************************************//*** * @brief Gets current TX LO frequency [MHz]. * * @return None. *******************************************************************************/ void get_tx_lo_freq(double* param, char param_no) // "tx_lo_freq?" command { uint64_t lo_freq_hz; ad9361_get_tx_lo_freq(ad9361_phy, &lo_freq_hz); lo_freq_hz /= 1000000; console_print("tx_lo_freq=%d\n", (uint32_t)lo_freq_hz); }
/**************************************************************************//*** * @brief Gets current TX LO frequency [MHz]. * * @return None. *******************************************************************************/ void get_tx_lo_freq(double* param, char param_no) // "tx_lo_freq?" command { uint64_t lo_freq_hz; if (ad9361_phy==0) { console_print ("Error: no AD9361 device selected\n"); return; } ad9361_get_tx_lo_freq(ad9361_phy, &lo_freq_hz); lo_freq_hz /= 1000000; console_print("tx_lo_freq=%d\n", (uint32_t)lo_freq_hz); }