Sound Byte Libs 1ee2ca6
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Public Attributes | List of all members
sbl::AdcHandle Struct Reference

ADC channel handle. More...

#include <handle.hpp>

Collaboration diagram for sbl::AdcHandle:

Public Attributes

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

Detailed Description

ADC channel handle.

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

Examples:

Definition at line 29 of file handle.hpp.

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: