TLE92466ED Driver 0.1.0-dev
Modern C++20 driver for Infineon TLE92466ED Six-Channel Low-Side Solenoid Driver
Loading...
Searching...
No Matches
ADCConfig Struct Reference

ADC Configuration. More...

Static Public Attributes

static constexpr adc_unit_t UNIT = ADC_UNIT_1
 ADC unit (ADC1)
 
static constexpr adc_channel_t CHANNEL = ADC_CHANNEL_0
 ADC channel 0 (GPIO0 on ESP32-C6)
 
static constexpr adc_atten_t ATTEN = ADC_ATTEN_DB_12
 0-3.3V range (12dB attenuation)
 
static constexpr adc_bitwidth_t BITWIDTH = ADC_BITWIDTH_12
 12-bit resolution
 
static constexpr uint32_t SAMPLE_RATE_HZ = 1000
 1kHz sampling rate
 
static constexpr float VREF_MV = 3300.0f
 Reference voltage (3.3V)
 
static constexpr float ADC_MAX = 4095.0f
 Maximum ADC value (12-bit)
 
static constexpr int GPIO_PIN = 0
 GPIO pin number (GPIO0)
 

Detailed Description

ADC Configuration.

ESP32-C6 ADC1 Channel 0 maps to GPIO0

Member Data Documentation

◆ ADC_MAX

constexpr float ADCConfig::ADC_MAX = 4095.0f
staticconstexpr

Maximum ADC value (12-bit)

◆ ATTEN

constexpr adc_atten_t ADCConfig::ATTEN = ADC_ATTEN_DB_12
staticconstexpr

0-3.3V range (12dB attenuation)

◆ BITWIDTH

constexpr adc_bitwidth_t ADCConfig::BITWIDTH = ADC_BITWIDTH_12
staticconstexpr

12-bit resolution

◆ CHANNEL

constexpr adc_channel_t ADCConfig::CHANNEL = ADC_CHANNEL_0
staticconstexpr

ADC channel 0 (GPIO0 on ESP32-C6)

◆ GPIO_PIN

constexpr int ADCConfig::GPIO_PIN = 0
staticconstexpr

GPIO pin number (GPIO0)

◆ SAMPLE_RATE_HZ

constexpr uint32_t ADCConfig::SAMPLE_RATE_HZ = 1000
staticconstexpr

1kHz sampling rate

◆ UNIT

constexpr adc_unit_t ADCConfig::UNIT = ADC_UNIT_1
staticconstexpr

ADC unit (ADC1)

◆ VREF_MV

constexpr float ADCConfig::VREF_MV = 3300.0f
staticconstexpr

Reference voltage (3.3V)


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