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

Handling of ADC hardware for lpc21xx. More...

#include <BOARD_CONFIG>
+ Include dependency graph for adc_arch.h:

Go to the source code of this file.

Macros

#define ADC_RESOLUTION   1024
 
#define NB_ADC   8
 8 ADCs for bank 0, others for bank 2 More...
 
#define AdcBank0(x)   (x)
 
#define AdcBank1(x)   (x+NB_ADC)
 

Detailed Description

Handling of ADC hardware for lpc21xx.

Definition in file adc_arch.h.

Macro Definition Documentation

#define ADC_RESOLUTION   1024

Definition at line 37 of file adc_arch.h.

Referenced by calc_ntc().

#define AdcBank0 (   x)    (x)

Definition at line 43 of file adc_arch.h.

#define AdcBank1 (   x)    (x+NB_ADC)

Definition at line 44 of file adc_arch.h.

#define NB_ADC   8

8 ADCs for bank 0, others for bank 2

Definition at line 41 of file adc_arch.h.

Referenced by adc_buf_channel(), and adcISR1().