Function libiio_sys::iio_device_set_trigger
source · pub unsafe extern "C" fn iio_device_set_trigger(
dev: *const iio_device,
trigger: *const iio_device
) -> c_int
Expand description
@brief Associate a trigger to a given device @param dev A pointer to an iio_device structure @param trigger a pointer to the iio_device structure corresponding to the trigger that should be associated. @return On success, 0 is returned @return On error, a negative errno code is returned