iio: what does in_accel_x_thresh_rising_en ?

From: Martin Kepplinger
Date: Tue Jun 09 2015 - 12:35:53 EST


hi

Is the in_accel_thresh_rising_value (or falling) threshold value signed
or unsigned?

In other words: Is a RISING event fired on an absolute growing value in
the positive range, and a FALLING event on an absolute growing value in
the negative acceleration range (< 0g)?

Or is a RISING event fired on a signed rising value, no matter if the
threshold is positive or negative, and a FALLING event on a decreasing
signed value, also when the threshold is positive?

thanks

martin
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/