Fabrice Gasnier | 732f2dc | 2017-01-26 15:28:31 +0100 | [diff] [blame] | 1 | What: /sys/bus/iio/devices/triggerX/trigger_polarity |
| 2 | KernelVersion: 4.11 |
| 3 | Contact: fabrice.gasnier@st.com |
| 4 | Description: |
| 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 | - "rising-edge" |
| 9 | - "falling-edge" |
| 10 | - "both-edges". |
| 11 | Reading returns current trigger polarity. |
| 12 | Writing value before enabling conversions sets trigger polarity. |
| 13 | |
| 14 | What: /sys/bus/iio/devices/triggerX/trigger_polarity_available |
| 15 | KernelVersion: 4.11 |
| 16 | Contact: fabrice.gasnier@st.com |
| 17 | Description: |
| 18 | List all available trigger_polarity settings. |