Function libiio_sys::iio_channel_attr_write_double
source · [−]pub unsafe extern "C" fn iio_channel_attr_write_double(
chn: *const iio_channel,
attr: *const c_char,
val: f64
) -> c_int
Expand description
@brief Set the value 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 double value to set the attribute to @return On success, 0 is returned @return On error, a negative errno code is returned