Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
adc.h File Reference

Copyright (c) 2023 IACE. More...

#include <utils/queue.h>
#include "gpio.h"
#include "dma.h"
Include dependency graph for adc.h:

Go to the source code of this file.

Classes

struct  ADC::Channel
 Class representing one measured pin/value. More...
 
struct  ADC::HW
 Analog to Digital Converter Peripheral Driver. More...
 
struct  ADC::HW::Conf
 driver configuration More...
 
struct  ADC::HW::ChannelConf
 channel configuration More...
 

Detailed Description

Copyright (c) 2023 IACE.


Class Documentation

◆ ADC::HW::Conf

struct ADC::HW::Conf

driver configuration

Class Members
ADC_TypeDef * adc ADC Peripheral.
uint32_t prescaler Peripheral clock prescaler.
DMA_Stream_TypeDef * dmaStream DMA Stream for reading out raw values.
uint32_t dmaChannel DMA Channel.

◆ ADC::HW::ChannelConf

struct ADC::HW::ChannelConf

channel configuration

Collaboration diagram for ADC::HW::ChannelConf:
[legend]
Class Members
uint32_t channel ADC Channel number [i.e. Pin].
uint32_t samplingTime sampling time
double lsb Least Significant Bit value factor.
DIO pin Analog configured pin.