Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::AdcHandle Struct Reference

ADC channel handle. More...

Detailed Description

ADC channel handle.

Represents an ADC input as resolved from hardware manifests. Used to pass channel configuration to driver functions.

Examples:

  • STM32 ADC1 channel 0: AdcHandle{1, 0}
  • RP2040 ADC channel 2: AdcHandle{0, 2} - Single ADC peripheral
  • Daisy Seed CV input: AdcHandle{1, 17} - ADC1_IN17 on STM32H750

Definition at line 29 of file handle.hpp.

#include <handle.hpp>

Public Attributes

uint32_t adc
 ADC peripheral number (1-indexed on STM32, 0 on RP2040)
 
uint32_t channel
 Channel within the ADC peripheral.
 

Member Data Documentation

◆ adc

uint32_t sbl::AdcHandle::adc

ADC peripheral number (1-indexed on STM32, 0 on RP2040)

Definition at line 30 of file handle.hpp.

◆ channel

uint32_t sbl::AdcHandle::channel

Channel within the ADC peripheral.

Definition at line 31 of file handle.hpp.


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