Function libiio_sys::iio_channel_enable
source · [−]pub unsafe extern "C" fn iio_channel_enable(chn: *mut iio_channel)
Expand description
@brief Enable the given channel @param chn A pointer to an iio_channel structure
NOTE:Before creating an iio_buffer structure with iio_device_create_buffer, it is required to enable at least one channel of the device to read from.