2015-10-13 15:46:42 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_ZEROCROSS
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Zero Cross Detection example"
|
2015-10-13 15:46:42 +02:00
|
|
|
default n
|
2019-04-29 22:53:38 +02:00
|
|
|
depends on SENSORS_ZEROCROSS
|
2015-10-13 15:46:42 +02:00
|
|
|
---help---
|
|
|
|
Enable the zero cross detection example
|
|
|
|
|
|
|
|
if EXAMPLES_ZEROCROSS
|
|
|
|
|
|
|
|
config EXAMPLES_ZEROCROSS_DEVNAME
|
|
|
|
string "Zero Cross device name"
|
|
|
|
default "/dev/zc0"
|
|
|
|
|
|
|
|
config EXAMPLES_ZEROCROSS_SIGNO
|
|
|
|
int "Zero Cross signal"
|
|
|
|
default 13
|
|
|
|
|
|
|
|
endif
|