Paparazzi UAS  v5.15_devel-230-gc96ce27
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

ADC driver. More...

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

Go to the source code of this file.

Macros

#define ADC_NUM_CHANNELS   (NB_ADC1_CHANNELS)
 

Enumerations

enum  adc1_channels { NB_ADC1_CHANNELS, ADC1_END }
 

Variables

uint8_t adc_error_flag
 
ADCDriver * adcp_err
 

Detailed Description

ADC driver.

Right now for STM32F1xx only

Definition in file adc_arch.h.

Macro Definition Documentation

#define ADC_NUM_CHANNELS   (NB_ADC1_CHANNELS)

Definition at line 93 of file adc_arch.h.

Referenced by adc1callback(), adc_buf_channel(), and adc_init().

Enumeration Type Documentation

Enumerator
NB_ADC1_CHANNELS 
ADC1_END 

Definition at line 41 of file adc_arch.h.

Variable Documentation

uint8_t adc_error_flag

Definition at line 138 of file adc_arch.c.

Referenced by adcerrorcallback().

ADCDriver* adcp_err

Definition at line 139 of file adc_arch.c.

Referenced by adcerrorcallback().