blob: 1d91e71c8ea9a73fc592aeda1a16a8771d888c75 [file] [log] [blame]
# ADC configuration options
# Copyright (c) 2020 ITE Corporation. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
config ADC_ITE_IT8XXX2
bool "ITE IT8XXX2 ADC driver"
default y
depends on DT_HAS_ITE_IT8XXX2_ADC_ENABLED
help
This option enables the ADC driver for IT8XXX2
family of processors.
Voltage range 0 to 3000mV.
Support 10-bit resolution.
Support 8 channels: ch0~ch7.
if ADC_ITE_IT8XXX2
config ADC_IT8XXX2_VOL_FULL_SCALE
bool "ADC internal voltage as full-scale"
help
This option enables ADC internal reference
voltage as full-scale 3300mV.
endif # ADC_ITE_IT8XXX2