Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
adc_arch.h File Reference

Driver for the analog to digital converters on STM32. More...

#include <BOARD_CONFIG>
+ Include dependency graph for adc_arch.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NB_ADC   (NB_ADC1_CHANNELS + NB_ADC2_CHANNELS)
 
#define AdcBank0(x)   (x)
 
#define AdcBank1(x)   (x+NB_ADC)
 

Enumerations

enum  adc1_channels { NB_ADC1_CHANNELS }
 
enum  adc2_channels { NB_ADC2_CHANNELS }
 

Detailed Description

Driver for the analog to digital converters on STM32.

Definition in file adc_arch.h.

Macro Definition Documentation

#define AdcBank0 (   x)    (x)

Definition at line 74 of file adc_arch.h.

#define AdcBank1 (   x)    (x+NB_ADC)

Definition at line 75 of file adc_arch.h.

#define NB_ADC   (NB_ADC1_CHANNELS + NB_ADC2_CHANNELS)

Definition at line 72 of file adc_arch.h.

Referenced by adcISR1().

Enumeration Type Documentation

Enumerator
NB_ADC1_CHANNELS 

Definition at line 36 of file adc_arch.h.

Enumerator
NB_ADC2_CHANNELS 

Definition at line 52 of file adc_arch.h.