Skip to content
Permalink
Browse files

drivers: adc: mcux_adc12: add driver for the NXP ADC12 module

Add MCUX driver shim for the NXP Kinetis 12-bit ADC module (ADC12).

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
  • Loading branch information...
henrikbrixandersen authored and MaureenHelm committed May 16, 2019
1 parent 1c55882 commit 683ca77620ade2baee1b49c418d0bf6eb5e93b5e
@@ -2,6 +2,7 @@

zephyr_library()

zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_ADC12 adc_mcux_adc12.c)
zephyr_library_sources_ifdef(CONFIG_ADC_MCUX_ADC16 adc_mcux_adc16.c)
zephyr_library_sources_ifdef(CONFIG_ADC_SAM_AFEC adc_sam_afec.c)
zephyr_library_sources_ifdef(CONFIG_ADC_NRFX_ADC adc_nrfx_adc.c)
@@ -47,6 +47,9 @@ config ADC_0
config ADC_1
bool "Enable ADC 1"

config ADC_2
bool "Enable ADC 2"

source "drivers/adc/Kconfig.mcux"

source "drivers/adc/Kconfig.nrfx"
@@ -6,6 +6,12 @@
# SPDX-License-Identifier: Apache-2.0
#

config ADC_MCUX_ADC12
bool "MCUX ADC12 driver"
depends on HAS_MCUX_ADC12
help
Enable the MCUX ADC12 driver.

config ADC_MCUX_ADC16
bool "MCUX ADC16 driver"
depends on HAS_MCUX_ADC16

0 comments on commit 683ca77

Please sign in to comment.
You can’t perform that action at this time.