2015-10-13 07:46:42 -06: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 09:29:56 -06:00
|
|
|
tristate "Zero Cross Detection example"
|
2015-10-13 07:46:42 -06:00
|
|
|
default n
|
2019-04-29 14:53:38 -06:00
|
|
|
depends on SENSORS_ZEROCROSS
|
2015-10-13 07:46:42 -06: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
|