Skip to content
Commit 73295a03 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Stephanos Ioannidis
Browse files

drivers: adc: add dt-spec helper functions



This patch adds the following dt-spec helpers:

- adc_channel_setup_dt()
- adc_raw_to_millivolts_dt()
- adc_sequence_init_dt()

The objective of these functions is to reduce application boilerplate
when Devicetree is used to configure the ADC.

Signed-off-by: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent 8f97e256
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment