Function libiio_sys::iio_channel_attr_read_double
source · [−]pub unsafe extern "C" fn iio_channel_attr_read_double(
chn: *const iio_channel,
attr: *const c_char,
val: *mut f64
) -> c_int
Expand description
@brief Read the content of the given channel-specific attribute @param chn A pointer to an iio_channel structure @param attr A NULL-terminated string corresponding to the name of the attribute @param val A pointer to a double variable where the value should be stored @return On success, 0 is returned @return On error, a negative errno code is returned