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:
parent
f1891e9473
commit
aad21ecb31
10 changed files with 730 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue