Function soapysdr_sys::SoapySDRDevice_getFrequency
source · pub unsafe extern "C" fn SoapySDRDevice_getFrequency(
device: *const SoapySDRDevice,
direction: c_int,
channel: usize
) -> f64
Expand description
Get the overall center frequency of the chain.
- For RX, this specifies the down-conversion frequency.
- For TX, this specifies the up-conversion frequency. \param device a pointer to a device instance \param direction the channel direction RX or TX \param channel an available channel on the device \return the center frequency in Hz