pub unsafe extern "C" fn iio_device_find_channel(
    dev: *const iio_device,
    name: *const c_char,
    output: bool
) -> *mut iio_channel
Expand description

@brief Try to find a channel structure by its name of ID @param dev A pointer to an iio_device structure @param name A NULL-terminated string corresponding to the name or the ID of the channel to search for @param output True if the searched channel is output, False otherwise @return On success, a pointer to an iio_channel structure @return If the name or ID does not correspond to any known channel of the given device, NULL is returned