| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
nrf_drv_adc_channel_config_t Struct Reference
ADC driver

ADC channel configuration. More...

`#include <nrf_drv_adc.h>`

## Data Fields
uint32_t | resolution:2
| 8 - 10 bit resolution.
uint32_t | input:3
| Input selection and scaling.
uint32_t | reference:2
| Reference source.
uint32_t | reserved:1
| Unused bit fields.
uint32_t | ain:8
| Analog input.
uint32_t | external_reference:2
| Eternal reference source.

## Detailed Description

ADC channel configuration.

Note
  The bit fields reflect bit fields in the ADC CONFIG register.