ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Data Fields

ADCDriver Struct Reference
[ADC Low Level DriverSTM32 ADC Support]

Structure representing an ADC driver. More...

#include <adc_lld.h>

Collaboration diagram for ADCDriver:
Collaboration graph
[legend]

Data Fields

adcstate_t ad_state
 Driver state.
const ADCConfigad_config
 Current configuration data.
Semaphore ad_sem
 Synchronization semaphore.
adccallback_t ad_callback
 Current callback function or NULL.
adcsample_tad_samples
 Current samples buffer pointer or NULL.
size_t ad_depth
 Current samples buffer depth or 0.
const ADCConversionGroupad_grpp
 Current conversion group pointer or NULL.
ADC_TypeDef * ad_adc
 Pointer to the ADCx registers block.
DMA_Channel_TypeDef * ad_dma
 Pointer to the DMA channel registers block.
uint32_t ad_dmaprio
 DMA priority bit mask.

Detailed Description

Structure representing an ADC driver.

Definition at line 106 of file templates/adc_lld.h.


Field Documentation

Current configuration data.

Definition at line 114 of file templates/adc_lld.h.

Referenced by adcObjectInit(), and adcStart().

Synchronization semaphore.

Definition at line 118 of file templates/adc_lld.h.

Referenced by adcObjectInit(), adcStopConversion(), adcWaitConversion(), and CH_IRQ_HANDLER().

Current callback function or NULL.

Definition at line 122 of file templates/adc_lld.h.

Referenced by adcObjectInit(), adcStartConversion(), and CH_IRQ_HANDLER().

Current samples buffer pointer or NULL.

Definition at line 126 of file templates/adc_lld.h.

Referenced by adcObjectInit(), adcStartConversion(), and CH_IRQ_HANDLER().

Current samples buffer depth or 0.

Definition at line 130 of file templates/adc_lld.h.

Referenced by adcObjectInit(), adcStartConversion(), and CH_IRQ_HANDLER().

Current conversion group pointer or NULL.

Definition at line 134 of file templates/adc_lld.h.

Referenced by adcObjectInit(), adcStartConversion(), adcStopConversion(), and CH_IRQ_HANDLER().

ADC_TypeDef* ADCDriver::ad_adc

Pointer to the ADCx registers block.

Definition at line 226 of file platforms/STM32/adc_lld.h.

DMA_Channel_TypeDef* ADCDriver::ad_dma

Pointer to the DMA channel registers block.

Definition at line 230 of file platforms/STM32/adc_lld.h.

DMA priority bit mask.

Definition at line 234 of file platforms/STM32/adc_lld.h.


Generated on Sun Oct 24 2010 09:40:49 for ChibiOS/RT by doxygen 1.7.1