pub unsafe extern "C" fn iio_channel_attr_write_bool(
    chn: *const iio_channel,
    attr: *const c_char,
    val: bool
) -> 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 bool value to set the attribute to @return On success, 0 is returned @return On error, a negative errno code is returned