public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* iio: what does in_accel_x_thresh_rising_en ?
@ 2015-06-09 16:03 Martin Kepplinger
  2015-06-10 20:49 ` Jonathan Cameron
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Kepplinger @ 2015-06-09 16:03 UTC (permalink / raw)
  To: jic23, irina.tirdea, daniel.baluta; +Cc: linux-iio, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-12  5:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 16:03 iio: what does in_accel_x_thresh_rising_en ? Martin Kepplinger
2015-06-10 20:49 ` Jonathan Cameron
2015-06-11 17:34   ` Martin Kepplinger
2015-06-12  5:56     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox