Function libiio_sys::iio_channel_read
source · [−]pub unsafe extern "C" fn iio_channel_read(
chn: *const iio_channel,
buffer: *mut iio_buffer,
dst: *mut c_void,
len: usize
) -> usize
Expand description
@brief Demultiplex and convert the samples of a given channel @param chn A pointer to an iio_channel structure @param buffer A pointer to an iio_buffer structure @param dst A pointer to the memory area where the converted data will be stored @param len The available length of the memory area, in bytes @return The size of the converted data, in bytes