mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
29 lines
939 B
Plaintext
29 lines
939 B
Plaintext
menu "Analog Comparator Example Configuration"
|
|
|
|
choice EXAMPLE_REFERENCE_SOURCE
|
|
prompt "Analog Comparator reference source"
|
|
default EXAMPLE_INTERNAL_REF
|
|
help
|
|
Decide the reference signal comes from internal or external
|
|
|
|
config EXAMPLE_INTERNAL_REF
|
|
bool "Internal reference"
|
|
help
|
|
The source signal will refer to an internal voltage, which related to VDD.
|
|
|
|
config EXAMPLE_EXTERNAL_REF
|
|
bool "External reference"
|
|
help
|
|
The source signal will refer to the external signal on a specific GPIO.
|
|
endchoice
|
|
|
|
config EXAMPLE_HYSTERESIS_COMPARATOR
|
|
depends on EXAMPLE_INTERNAL_REF
|
|
bool "Enable hysteresis comparator"
|
|
default n
|
|
help
|
|
The internal reference voltage will be set to 30% VDD and 70% VDD alternately
|
|
every time the interrupt triggered.
|
|
|
|
endmenu
|