12#ifndef ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_WCH_CH5XX_H_
13#define ZEPHYR_INCLUDE_DRIVERS_COMPARATOR_WCH_CH5XX_H_
comp_nref_level
Available negative reference levels.
Definition comparator_wch_ch5xx.h:22
@ COMP_NREF_LEVEL_700
700 mV internal negative reference
Definition comparator_wch_ch5xx.h:36
@ COMP_NREF_LEVEL_600
600 mV internal negative reference
Definition comparator_wch_ch5xx.h:34
@ COMP_NREF_LEVEL_300
300 mV internal negative reference
Definition comparator_wch_ch5xx.h:28
@ COMP_NREF_LEVEL_100
100 mV internal negative reference
Definition comparator_wch_ch5xx.h:24
@ COMP_NREF_LEVEL_250
250 mV internal negative reference
Definition comparator_wch_ch5xx.h:27
@ COMP_NREF_LEVEL_550
550 mV internal negative reference
Definition comparator_wch_ch5xx.h:33
@ COMP_NREF_LEVEL_150
150 mV internal negative reference
Definition comparator_wch_ch5xx.h:25
@ COMP_NREF_LEVEL_350
350 mV internal negative reference
Definition comparator_wch_ch5xx.h:29
@ COMP_NREF_LEVEL_800
800 mV internal negative reference
Definition comparator_wch_ch5xx.h:38
@ COMP_NREF_LEVEL_200
200 mV internal negative reference
Definition comparator_wch_ch5xx.h:26
@ COMP_NREF_LEVEL_400
400 mV internal negative reference
Definition comparator_wch_ch5xx.h:30
@ COMP_NREF_LEVEL_650
650 mV internal negative reference
Definition comparator_wch_ch5xx.h:35
@ COMP_NREF_LEVEL_50
50 mV internal negative reference
Definition comparator_wch_ch5xx.h:23
@ COMP_NREF_LEVEL_750
750 mV internal negative reference
Definition comparator_wch_ch5xx.h:37
@ COMP_NREF_LEVEL_450
450 mV internal negative reference
Definition comparator_wch_ch5xx.h:31
@ COMP_NREF_LEVEL_500
500 mV internal negative reference
Definition comparator_wch_ch5xx.h:32
int comparator_wch_set_nref_level(const struct device *dev, enum comp_nref_level level)
Set the negative reference level for the comparator.
Runtime device structure (in ROM) per driver instance.
Definition device.h:525