1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/adc.h)
4
5zephyr_library()
6
7zephyr_library_sources_ifdef(CONFIG_ADC			adc_common.c)
8zephyr_library_sources_ifdef(CONFIG_ADC_TELINK_B91	adc_b91.c)
9zephyr_library_sources_ifdef(CONFIG_ADC_ITE_IT8XXX2	adc_ite_it8xxx2.c)
10zephyr_library_sources_ifdef(CONFIG_ADC_SHELL		adc_shell.c)
11zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_ADC12	adc_mcux_adc12.c)
12zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_ADC16	adc_mcux_adc16.c)
13zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_12B1MSPS_SAR	adc_mcux_12b1msps_sar.c)
14zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_LPADC	adc_mcux_lpadc.c)
15zephyr_library_sources_ifdef(CONFIG_ADC_VF610		adc_vf610.c)
16zephyr_library_sources_ifdef(CONFIG_ADC_SAM_AFEC	adc_sam_afec.c)
17zephyr_library_sources_ifdef(CONFIG_ADC_NRFX_ADC	adc_nrfx_adc.c)
18zephyr_library_sources_ifdef(CONFIG_ADC_NRFX_SAADC	adc_nrfx_saadc.c)
19zephyr_library_sources_ifdef(CONFIG_ADC_SAM		adc_sam.c)
20zephyr_library_sources_ifdef(CONFIG_ADC_SAM0		adc_sam0.c)
21zephyr_library_sources_ifdef(CONFIG_ADC_STM32		adc_stm32.c)
22zephyr_library_sources_ifdef(CONFIG_ADC_XEC		adc_mchp_xec.c)
23zephyr_library_sources_ifdef(CONFIG_ADC_LMP90XXX	adc_lmp90xxx.c)
24zephyr_library_sources_ifdef(CONFIG_ADC_MCP320X		adc_mcp320x.c)
25zephyr_library_sources_ifdef(CONFIG_ADC_NPCX		adc_npcx.c)
26zephyr_library_sources_ifdef(CONFIG_USERSPACE		adc_handlers.c)
27zephyr_library_sources_ifdef(CONFIG_ADC_CC32XX		adc_cc32xx.c)
28zephyr_library_sources_ifdef(CONFIG_ADC_CC13XX_CC26XX		adc_cc13xx_cc26xx.c)
29zephyr_library_sources_ifdef(CONFIG_ADC_EMUL		adc_emul.c)
30zephyr_library_sources_ifdef(CONFIG_ADC_TEST		adc_test.c)
31zephyr_library_sources_ifdef(CONFIG_ADC_ADS1X1X		adc_ads1x1x.c)
32zephyr_library_sources_ifdef(CONFIG_ADC_GD32		adc_gd32.c)
33zephyr_library_sources_ifdef(CONFIG_ADC_ADS1112		adc_ads1112.c)
34zephyr_library_sources_ifdef(CONFIG_ADC_ADS1119		adc_ads1119.c)
35zephyr_library_sources_ifdef(CONFIG_ADC_ADS7052		adc_ads7052.c)
36zephyr_library_sources_ifdef(CONFIG_ADC_ADS114S0X		adc_ads114s0x.c)
37zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO	adc_rpi_pico.c)
38zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX		adc_xmc4xxx.c)
39zephyr_library_sources_ifdef(CONFIG_ADC_ESP32		adc_esp32.c)
40zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_ADC   	adc_gecko.c)
41zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_IADC   	iadc_gecko.c)
42zephyr_library_sources_ifdef(CONFIG_ADC_INFINEON_CAT1	adc_ifx_cat1.c)
43zephyr_library_sources_ifdef(CONFIG_ADC_SMARTBOND_GPADC adc_smartbond_gpadc.c)
44zephyr_library_sources_ifdef(CONFIG_ADC_SMARTBOND_SDADC adc_smartbond_sdadc.c)
45zephyr_library_sources_ifdef(CONFIG_ADC_TLA2021         adc_tla2021.c)
46zephyr_library_sources_ifdef(CONFIG_ADC_NXP_S32_ADC_SAR	adc_nxp_s32_adc_sar.c)
47zephyr_library_sources_ifdef(CONFIG_ADC_MAX1125X	adc_max1125x.c)
48zephyr_library_sources_ifdef(CONFIG_ADC_MAX11102_17	adc_max11102_17.c)
49zephyr_library_sources_ifdef(CONFIG_ADC_AD5592	        adc_ad5592.c)
50zephyr_library_sources_ifdef(CONFIG_ADC_LTC2451 adc_ltc2451.c)
51zephyr_library_sources_ifdef(CONFIG_ADC_NUMAKER         adc_numaker.c)
52