xref: /linux/Documentation/ABI/testing/sysfs-bus-iio-adc-stm32 (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1What:		/sys/bus/iio/devices/triggerX/trigger_polarity
2KernelVersion:	4.11
3Contact:	fabrice.gasnier@st.com
4Description:
5		The STM32 ADC can be configured to use external trigger sources
6		(e.g. timers, pwm or exti gpio). Then, it can be tuned to start
7		conversions on external trigger by either:
8
9		- "rising-edge"
10		- "falling-edge"
11		- "both-edges".
12
13		Reading returns current trigger polarity.
14
15		Writing value before enabling conversions sets trigger polarity.
16
17What:		/sys/bus/iio/devices/triggerX/trigger_polarity_available
18KernelVersion:	4.11
19Contact:	fabrice.gasnier@st.com
20Description:
21		List all available trigger_polarity settings.
22