Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
adc_channel_config_t Struct Reference

Struct to configure an ADC channel. More...

#include <cs_PacketsInternal.h>

Public Attributes

adc_pin_id_t pin
 
uint32_t rangeMilliVolt
 
adc_pin_id_t referencePin
 

Detailed Description

Struct to configure an ADC channel.

pin: The AIN pin to sample. rangeMilliVolt: The range in mV of the pin. referencePin: The AIN pin to be subtracted from the measured voltage.

Member Data Documentation

◆ pin

adc_pin_id_t adc_channel_config_t::pin

◆ rangeMilliVolt

uint32_t adc_channel_config_t::rangeMilliVolt

◆ referencePin

adc_pin_id_t adc_channel_config_t::referencePin

The documentation for this struct was generated from the following file: