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: 854a19b4dSMauro Carvalho Chehab 9732f2dc4SFabrice Gasnier - "rising-edge" 10732f2dc4SFabrice Gasnier - "falling-edge" 11732f2dc4SFabrice Gasnier - "both-edges". 1254a19b4dSMauro Carvalho Chehab 13732f2dc4SFabrice Gasnier Reading returns current trigger polarity. 1454a19b4dSMauro Carvalho Chehab 15732f2dc4SFabrice Gasnier Writing value before enabling conversions sets trigger polarity. 16732f2dc4SFabrice Gasnier 17732f2dc4SFabrice GasnierWhat: /sys/bus/iio/devices/triggerX/trigger_polarity_available 18732f2dc4SFabrice GasnierKernelVersion: 4.11 19732f2dc4SFabrice GasnierContact: fabrice.gasnier@st.com 20732f2dc4SFabrice GasnierDescription: 21732f2dc4SFabrice Gasnier List all available trigger_polarity settings. 22