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