ESP-IDF + 0/1 examples
SourceVu will show references to ana_cmpr_config_t from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
Analog comparator unit.
The clock source of the analog comparator, which decide the resolution of the comparator.
Reference signal source of the comparator, select using ANA_CMPR_REF_SRC_INTERNAL or ANA_CMPR_REF_SRC_EXTERNAL. For internal reference, the reference voltage should be set to `internal_ref_volt`, for external reference, the reference signal should be connect to `ANA_CMPRx_EXT_REF_GPIO`.
The crossing types that can trigger interrupt.
int
The interrupt priority, range 0~7, if set to 0, the driver will try to allocate an interrupt with a relative low priority (1,2,3) otherwise the larger the higher, 7 is NMI.
struct { uint32_t io_loop_back: 1; }
Analog comparator driver flags.

References

from examples