David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | What: /sys/bus/counter/devices/counterX/signalY/index_polarity |
| 2 | KernelVersion: 5.2 |
| 3 | Contact: linux-iio@vger.kernel.org |
| 4 | Description: |
| 5 | Active level of index input Signal Y; irrelevant in |
| 6 | non-synchronous load mode. |
| 7 | |
| 8 | What: /sys/bus/counter/devices/counterX/signalY/index_polarity_available |
| 9 | What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode_available |
| 10 | KernelVersion: 5.2 |
| 11 | Contact: linux-iio@vger.kernel.org |
| 12 | Description: |
| 13 | Discrete set of available values for the respective Signal Y |
| 14 | configuration are listed in this file. |
| 15 | |
| 16 | What: /sys/bus/counter/devices/counterX/signalY/synchronous_mode |
| 17 | KernelVersion: 5.2 |
| 18 | Contact: linux-iio@vger.kernel.org |
| 19 | Description: |
| 20 | Configure the counter associated with Signal Y for |
| 21 | non-synchronous or synchronous load mode. Synchronous load mode |
| 22 | cannot be selected in non-quadrature (Pulse-Direction) clock |
| 23 | mode. |
| 24 | |
| 25 | non-synchronous: |
| 26 | A logic low level is the active level at this index |
| 27 | input. The index function (as enabled via preset_enable) |
| 28 | is performed directly on the active level of the index |
| 29 | input. |
| 30 | |
| 31 | synchronous: |
| 32 | Intended for interfacing with encoder Index output in |
| 33 | quadrature clock mode. The active level is configured |
| 34 | via index_polarity. The index function (as enabled via |
| 35 | preset_enable) is performed synchronously with the |
| 36 | quadrature clock on the active level of the index input. |