summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-bus-iio-adc-stm32
blob: 1975c7a1af34670359413e531eff0c9c41152b50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
What:		/sys/bus/iio/devices/triggerX/trigger_polarity
KernelVersion:	4.11
Contact:	fabrice.gasnier@st.com
Description:
		The STM32 ADC can be configured to use external trigger sources
		(e.g. timers, pwm or exti gpio). Then, it can be tuned to start
		conversions on external trigger by either:

		- "rising-edge"
		- "falling-edge"
		- "both-edges".

		Reading returns current trigger polarity.

		Writing value before enabling conversions sets trigger polarity.

What:		/sys/bus/iio/devices/triggerX/trigger_polarity_available
KernelVersion:	4.11
Contact:	fabrice.gasnier@st.com
Description:
		List all available trigger_polarity settings.