Function libiio_sys::iio_channel_get_index
source · [−]pub unsafe extern "C" fn iio_channel_get_index(
chn: *const iio_channel
) -> c_long
Expand description
@brief Get the index of the given channel @param chn A pointer to an iio_channel structure @return On success, the index of the specified channel @return On error, a negative errno code is returned