2020-12-23 15:06:56 +08:00
|
|
|
# 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"
|
2022-07-21 19:43:43 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ITE_IT8XXX2_ADC_ENABLED
|
2024-10-11 11:39:11 +08:00
|
|
|
select PINCTRL
|
2020-12-23 15:06:56 +08:00
|
|
|
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.
|
2023-02-16 17:54:42 +08:00
|
|
|
|
|
|
|
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
|