zephyr/drivers/adc/Kconfig.it8xxx2
Tim Lin 00e6c19ab5 ITE: drivers/adc: Add config of ADC reference voltage full-scale 3300mV
This option can enable ADC internal reference voltage as
full-scale 3300mV.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2023-02-23 08:59:54 +01:00

26 lines
616 B
Plaintext

# 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