Function libiio_sys::iio_device_get_channel
source · pub unsafe extern "C" fn iio_device_get_channel(
dev: *const iio_device,
index: c_uint
) -> *mut iio_channel
Expand description
@brief Get the channel present at the given index @param dev A pointer to an iio_device structure @param index The index corresponding to the channel @return On success, a pointer to an iio_channel structure @return If the index is invalid, NULL is returned