ce4018511f
Renesas Renesas SmartBond(tm) have two ADC blocks: GPADC and SDADC. This change adds drivers for both. Each ADC supports only one channel setup, drivers allow to have multiply channels in sequence. Switching between ADC sources in done in software. GPADC has 10 bit resolution (accuracy can be increase with oversampling). Values up to 3.6V can be measured on selected pins. V30 and VBAT1 can also be measured. SDADC has 14 bit resolution and can take measurements from 8 pins (single of differential) and VBAT. Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
21 lines
626 B
Plaintext
21 lines
626 B
Plaintext
# ADC configuration options
|
|
|
|
# Copyright (c) 2023 Renesas Electronics Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ADC_SMARTBOND_GPADC
|
|
bool "Renesas SmartBond(tm) ADC driver for ADC"
|
|
default y
|
|
depends on DT_HAS_RENESAS_SMARTBOND_ADC_ENABLED
|
|
select ADC_CONFIGURABLE_INPUTS
|
|
help
|
|
Enable support for ADC driver for Renesas SmartBond(tm) MCU series.
|
|
|
|
config ADC_SMARTBOND_SDADC
|
|
bool "Renesas SmartBond(tm) ADC driver for Sigma-Delta ADC"
|
|
default y
|
|
depends on DT_HAS_RENESAS_SMARTBOND_SDADC_ENABLED
|
|
select ADC_CONFIGURABLE_INPUTS
|
|
help
|
|
Enable support for ADC driver for Renesas SmartBond(tm) MCU series.
|