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>
This commit is contained in:
parent
1c55882ae3
commit
683ca77620
7 changed files with 453 additions and 0 deletions
|
@ -12,6 +12,11 @@ config HAS_MCUX
|
|||
|
||||
if HAS_MCUX
|
||||
|
||||
config HAS_MCUX_ADC12
|
||||
bool
|
||||
help
|
||||
Set if the 12-bit ADC (ADC12) module is present in the SoC.
|
||||
|
||||
config HAS_MCUX_ADC16
|
||||
bool
|
||||
help
|
||||
|
|
|
@ -11,6 +11,7 @@ zephyr_library_compile_definitions_ifdef(
|
|||
)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_HAS_MCUX_CACHE fsl_cache.c)
|
||||
zephyr_sources_ifdef(CONFIG_ADC_MCUX_ADC12 fsl_adc12.c)
|
||||
zephyr_sources_ifdef(CONFIG_ADC_MCUX_ADC16 fsl_adc16.c)
|
||||
zephyr_sources_ifdef(CONFIG_ETH_MCUX fsl_enet.c)
|
||||
zephyr_sources_ifdef(CONFIG_I2C_MCUX fsl_i2c.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue