Skip to main content

SoapySDRDevice_setHardwareTime

Function SoapySDRDevice_setHardwareTime 

Source
pub unsafe extern "C" fn SoapySDRDevice_setHardwareTime(
    device: *mut SoapySDRDevice,
    timeNs: c_longlong,
    what: *const c_char,
) -> c_int
Expand description

Write the time to the hardware clock on the device.

The what argument can refer to a specific time counter. \param device a pointer to a device instance \param timeNs time in nanoseconds \param what optional argument \return 0 for success or error code on failure