William Breathitt Gray | 28e5d3b | 2016-09-28 14:00:01 -0400 | [diff] [blame] | 1 | # |
| 2 | # Counter devices |
| 3 | # |
| 4 | # When adding new entries keep the list in alphabetical order |
| 5 | |
| 6 | menu "Counters" |
| 7 | |
| 8 | config 104_QUAD_8 |
| 9 | tristate "ACCES 104-QUAD-8 driver" |
William Breathitt Gray | 1f8f936 | 2017-12-29 15:13:19 -0500 | [diff] [blame^] | 10 | depends on PC104 && X86 |
| 11 | select ISA_BUS_API |
William Breathitt Gray | 28e5d3b | 2016-09-28 14:00:01 -0400 | [diff] [blame] | 12 | help |
| 13 | Say yes here to build support for the ACCES 104-QUAD-8 quadrature |
| 14 | encoder counter/interface device family (104-QUAD-8, 104-QUAD-4). |
| 15 | |
| 16 | Performing a write to a counter's IIO_CHAN_INFO_RAW sets the counter and |
| 17 | also clears the counter's respective error flag. Although the counters |
| 18 | have a 25-bit range, only the lower 24 bits may be set, either directly |
| 19 | or via a counter's preset attribute. Interrupts are not supported by |
| 20 | this driver. |
| 21 | |
| 22 | The base port addresses for the devices may be configured via the base |
| 23 | array module parameter. |
| 24 | |
Fabrice Gasnier | d895882 | 2017-08-28 12:04:13 +0200 | [diff] [blame] | 25 | config STM32_LPTIMER_CNT |
| 26 | tristate "STM32 LP Timer encoder counter driver" |
| 27 | depends on MFD_STM32_LPTIMER || COMPILE_TEST |
| 28 | help |
| 29 | Select this option to enable STM32 Low-Power Timer quadrature encoder |
| 30 | and counter driver. |
| 31 | |
| 32 | To compile this driver as a module, choose M here: the |
| 33 | module will be called stm32-lptimer-cnt. |
William Breathitt Gray | 28e5d3b | 2016-09-28 14:00:01 -0400 | [diff] [blame] | 34 | endmenu |