1732f2dc4SFabrice GasnierWhat: /sys/bus/iio/devices/triggerX/trigger_polarity 2732f2dc4SFabrice GasnierKernelVersion: 4.11 3732f2dc4SFabrice GasnierContact: fabrice.gasnier@st.com 4732f2dc4SFabrice GasnierDescription: 5732f2dc4SFabrice Gasnier The STM32 ADC can be configured to use external trigger sources 6732f2dc4SFabrice Gasnier (e.g. timers, pwm or exti gpio). Then, it can be tuned to start 7732f2dc4SFabrice Gasnier conversions on external trigger by either: 8732f2dc4SFabrice Gasnier - "rising-edge" 9732f2dc4SFabrice Gasnier - "falling-edge" 10732f2dc4SFabrice Gasnier - "both-edges". 11732f2dc4SFabrice Gasnier Reading returns current trigger polarity. 12732f2dc4SFabrice Gasnier Writing value before enabling conversions sets trigger polarity. 13732f2dc4SFabrice Gasnier 14732f2dc4SFabrice GasnierWhat: /sys/bus/iio/devices/triggerX/trigger_polarity_available 15732f2dc4SFabrice GasnierKernelVersion: 4.11 16732f2dc4SFabrice GasnierContact: fabrice.gasnier@st.com 17732f2dc4SFabrice GasnierDescription: 18732f2dc4SFabrice Gasnier List all available trigger_polarity settings. 19