Sound Byte Libs 0.5.1-340-gab5b79a
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.

Example: ADC1 channel 17 is AdcHandle{1, 17}.

Definition at line 26 of file handle.hpp.

#include <handle.hpp>

Public Attributes

uint32_t adc
 
uint32_t channel
 

Member Data Documentation

◆ adc

uint32_t sbl::AdcHandle::adc

ADC peripheral number (1-indexed on STM32)

Definition at line 27 of file handle.hpp.

◆ channel

uint32_t sbl::AdcHandle::channel

Channel within the ADC peripheral

Definition at line 28 of file handle.hpp.


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