1# Copyright (c) 2025 Renesas Electronics Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4config DAC_RENESAS_RA 5 bool "Renesas RA DAC" 6 default y 7 depends on DT_HAS_RENESAS_RA_DAC_ENABLED 8 select USE_RA_FSP_DAC 9 select PINCTRL 10 help 11 Enable Renesas RA DAC Driver. 12 13if DAC_RENESAS_RA 14config DAC_RENESAS_RA_DA_AD_SYNCHRONIZE 15 bool "D/A A/D Synchronous Conversion" 16 help 17 - n: Do not synchronize DAC12 with ADC (unit 1) operation 18 (disable interference reduction between D/A and A/D conversion). 19 - y: Synchronize DAC12 with ADC (unit 1) operation 20 (enable interference reduction between D/A and A/D conversion). 21 22choice DAC_RENESAS_RA_DAVREFCR 23 prompt "D/A Reference Voltage" 24 depends on $(dt_nodelabel_bool_prop,dac_global,has-davrefcr) 25 default DAC_RENESAS_RA_DAVREFCR_AVCC0_AVSS0 26 27config DAC_RENESAS_RA_DAVREFCR_NONE 28 bool "No reference voltage selected" 29 help 30 No reference voltage selected 31 32config DAC_RENESAS_RA_DAVREFCR_AVCC0_AVSS0 33 bool "Using AVCC0/AVSS0 for reference voltage source" 34 help 35 AVCC0/AVSS0 selected 36 37config DAC_RENESAS_RA_DAVREFCR_VREFH_VREFL 38 bool "Using VREFH/VREFL for reference voltage source" 39 help 40 VREFH/VREFL selected 41 42endchoice #DAC_RENESAS_RA_DAVREFCR 43endif # DAC_RENESAS_RA 44