drivers: adc: Add shims for nrfx ADC and SAADC drivers

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>
This commit is contained in:
Andrzej Głąbek 2018-05-21 15:01:08 +02:00 committed by Anas Nashif
commit aad21ecb31
10 changed files with 730 additions and 8 deletions

View file

@ -10,9 +10,15 @@ config HAS_NORDIC_DRIVERS
config HAS_NRFX
bool
config NRFX_ADC
bool
config NRFX_PWM
bool
config NRFX_SAADC
bool
config NRFX_SPI
bool