This commit adds translation layers to make nrfx drivers for the nRF ADC (nRF51 series) and SAADC (nRF52 series) peripherals accessible via the Zephyr's API. The SAADC peripheral is accessed using nrfx HAL only as it turns out that usage of the nrfx driver in this case would be inconvenient and would unnecessarily complicate the shim. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
38 lines
359 B
Text
38 lines
359 B
Text
#
|
|
# Copyright (c) 2016 Nordic Semiconductor ASA
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config HAS_NORDIC_DRIVERS
|
|
bool
|
|
|
|
config HAS_NRFX
|
|
bool
|
|
|
|
config NRFX_ADC
|
|
bool
|
|
|
|
config NRFX_PWM
|
|
bool
|
|
|
|
config NRFX_SAADC
|
|
bool
|
|
|
|
config NRFX_SPI
|
|
bool
|
|
|
|
config NRFX_SPIM
|
|
bool
|
|
|
|
config NRFX_SPIS
|
|
bool
|
|
|
|
config NRFX_TWI
|
|
bool
|
|
|
|
config NRFX_TWIM
|
|
bool
|
|
|
|
config NRFX_WDT
|
|
bool
|