2016-09-28 18:00:01 +00:00
|
|
|
#
|
|
|
|
# Counter devices
|
|
|
|
#
|
|
|
|
# When adding new entries keep the list in alphabetical order
|
|
|
|
|
|
|
|
menu "Counters"
|
|
|
|
|
|
|
|
config 104_QUAD_8
|
|
|
|
tristate "ACCES 104-QUAD-8 driver"
|
2017-01-10 18:51:29 +00:00
|
|
|
depends on PC104 && X86 && ISA_BUS_API
|
2016-09-28 18:00:01 +00:00
|
|
|
help
|
|
|
|
Say yes here to build support for the ACCES 104-QUAD-8 quadrature
|
|
|
|
encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
|
|
|
|
|
|
|
|
Performing a write to a counter's IIO_CHAN_INFO_RAW sets the counter and
|
|
|
|
also clears the counter's respective error flag. Although the counters
|
|
|
|
have a 25-bit range, only the lower 24 bits may be set, either directly
|
|
|
|
or via a counter's preset attribute. Interrupts are not supported by
|
|
|
|
this driver.
|
|
|
|
|
|
|
|
The base port addresses for the devices may be configured via the base
|
|
|
|
array module parameter.
|
|
|
|
|
2017-08-28 10:04:13 +00:00
|
|
|
config STM32_LPTIMER_CNT
|
|
|
|
tristate "STM32 LP Timer encoder counter driver"
|
|
|
|
depends on MFD_STM32_LPTIMER || COMPILE_TEST
|
|
|
|
help
|
|
|
|
Select this option to enable STM32 Low-Power Timer quadrature encoder
|
|
|
|
and counter driver.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called stm32-lptimer-cnt.
|
2016-09-28 18:00:01 +00:00
|
|
|
endmenu
|