2020-08-17 11:02:38 +08:00
|
|
|
# NPCX ADC driver configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2020 Nuvoton Technology Corporation.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config ADC_NPCX
|
2020-12-07 13:45:26 +08:00
|
|
|
bool "Nuvoton NPCX embedded controller (EC) ADC driver"
|
2022-07-21 19:43:43 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NUVOTON_NPCX_ADC_ENABLED
|
2020-08-17 11:02:38 +08:00
|
|
|
help
|
|
|
|
This option enables the ADC driver for NPCX family of
|
|
|
|
processors.
|
|
|
|
Say y if you wish to use ADC channels on NPCX MCU.
|
2023-09-22 16:14:11 +08:00
|
|
|
|
|
|
|
if ADC_NPCX
|
|
|
|
|
|
|
|
config ADC_NPCX_CMP_V1
|
|
|
|
bool "ADC comparator version 1 support"
|
|
|
|
default y if SOC_SERIES_NPCX7 || SOC_SERIES_NPCX9
|
|
|
|
help
|
|
|
|
This option enables ADC comparator V1 support.
|
|
|
|
|
|
|
|
config ADC_NPCX_CMP_V2
|
|
|
|
bool "ADC comparator version 2 support"
|
|
|
|
default y if SOC_SERIES_NPCX4
|
|
|
|
help
|
|
|
|
This option enables ADC comparator V2 support.
|
|
|
|
|
|
|
|
endif #ADC_NPCX
|