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