Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ ADC_NUM_CHANNELS

#define ADC_NUM_CHANNELS   (NB_ADC1_CHANNELS)

Definition at line 93 of file adc_arch.h.

Enumeration Type Documentation

◆ adc1_channels

Enumerator
NB_ADC1_CHANNELS 
ADC1_END 

Definition at line 41 of file adc_arch.h.

Variable Documentation

◆ adc_error_flag

uint8_t adc_error_flag
extern

Definition at line 132 of file adc_arch.c.

Referenced by adcerrorcallback().

◆ adcp_err

ADCDriver* adcp_err
extern

Definition at line 133 of file adc_arch.c.

Referenced by adcerrorcallback().