zephyr/drivers/adc
Benjamin Geiger 2ed8790e8b drivers: adc: fix IF_ENABLED macro usage in ADS1X1X trigger
The ADC_ADS1X1X_TRIGGER macro was defined without an explicit value,
preventing ALERT/RDY pin configuration even when alert_rdy_gpios
were properly defined in devicetree. This occurred because
the IF_ENABLED macro specifically requires macros to be defined as 1,
not just defined empty.

Fixed this by explicitly defining ADC_ADS1X1X_TRIGGER as 1 when
alert_rdy_gpios properties are present in devicetree.

Signed-off-by: Benjamin Geiger <BenjaminGeiger1@gmail.com>
2024-12-12 20:00:10 +01:00
..
adc_ad559x.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ads1x1x.c drivers: adc: fix IF_ENABLED macro usage in ADS1X1X trigger 2024-12-12 20:00:10 +01:00
adc_ads114s0x.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ads1112.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ads1119.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ads7052.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ambiq.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_b91.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_cc13xx_cc26xx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_cc32xx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_common.c
adc_context.h
adc_emul.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ene_kb1200.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_esp32.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_gd32.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_gecko.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_handlers.c
adc_ifx_cat1.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ite_it8xxx2.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_lmp90xxx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ltc2451.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_max32.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_max1125x.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_max11102_17.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mchp_xec.c drivers: adc: microchip: Different channels per package type 2024-12-11 21:35:49 +01:00
adc_mcp320x.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_12b1msps_sar.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_adc12.c dts: bindings: rename nxp,kinetis-adc12 compatible 2024-12-03 19:55:50 +01:00
adc_mcux_adc16.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_gau_adc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_lpadc.c drivers: adc: mcux_lpadc: support IP instances without side B channel 2024-12-06 10:01:26 +01:00
adc_npcx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_nrfx_adc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_nrfx_saadc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_numaker.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_nxp_s32_adc_sar.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_renesas_ra.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_rpi_pico.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_sam0.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_sam_afec.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_sam.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_shell.c dts: bindings: rename nxp,kinetis-adc12 compatible 2024-12-03 19:55:50 +01:00
adc_smartbond_gpadc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_smartbond_sdadc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_stm32.c drivers: adc: stm32: use dedicated status function for ldo state 2024-12-07 11:02:18 +01:00
adc_stm32wb0.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_test.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_tla2021.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_vf610.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_xmc4xxx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
CMakeLists.txt drivers: adc: stm32: add STM32WB0 ADC 2024-10-27 01:08:25 +02:00
iadc_gecko.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
Kconfig drivers: adc: Add ADC driver for MAX32xxx MCUs 2024-09-04 21:28:08 +02:00
Kconfig.ad559x
Kconfig.adc_emul
Kconfig.ads1x1x
Kconfig.ads114s0x
Kconfig.ads1112 driver: adc: ads1112 Fix missing default y in config ADC_ADS1112 2024-09-26 17:43:52 -04:00
Kconfig.ads1119
Kconfig.ads7052
Kconfig.ambiq drivers: adc: add ambiq adc driver 2024-08-14 10:45:47 +01:00
Kconfig.b91
Kconfig.cc13xx_cc26xx
Kconfig.cc32xx
Kconfig.ene
Kconfig.esp32
Kconfig.gd32 soc: gd32: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:40:42 -06:00
Kconfig.gecko
Kconfig.ifx_cat1
Kconfig.it8xxx2 ITE: it8xxx2: Remove CONFIG_PINCTRL from soc defconfig file 2024-10-15 13:52:55 +02:00
Kconfig.lmp90xxx
Kconfig.ltc2451
Kconfig.max32 drivers: adc: Add ADC driver for MAX32xxx MCUs 2024-09-04 21:28:08 +02:00
Kconfig.max1125x
Kconfig.max11102_17
Kconfig.mcp320x
Kconfig.mcux soc: nxp: imxrt11xx: select CONFIG_HAS_MCUX_ADC_ETC 2024-12-07 02:03:45 +01:00
Kconfig.npcx board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards 2024-11-07 08:59:14 -08:00
Kconfig.nrfx
Kconfig.numaker boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
Kconfig.nxp_s32 boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.renesas_ra drivers: Select PINCTRL for renesas RA drivers 2024-11-06 09:59:32 -08:00
Kconfig.rpi_pico soc: raspberrypi: Drop PINCTRL from Kconfig.defconfig 2024-11-25 14:42:01 +01:00
Kconfig.sam soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.sam0 soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.sam_afec soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.smartbond
Kconfig.stm32 drivers: adc: stm32: add STM32WB0 ADC 2024-10-27 01:08:25 +02:00
Kconfig.test
Kconfig.tla2021 drivers: adc: tla2021: seperate thread, only when needed 2024-08-29 15:52:46 +02:00
Kconfig.vf610
Kconfig.xec drivers: microchip xec: select PINCTRL 2024-11-29 05:41:53 +01:00
Kconfig.xmc4xxx SOC: Remove config PINCTRL from xmc4xxx soc 2024-12-02 22:05:16 +00:00