Classes | Typedefs | Functions | Variables
drv_adc.c File Reference
#include <stdbool.h>
#include "stm32f10x_conf.h"
#include "drv_system.h"
#include "drv_adc.h"
Include dependency graph for drv_adc.c:

Go to the source code of this file.

Classes

struct  adc_config_t
 

Typedefs

typedef struct adc_config_t adc_config_t
 

Functions

uint16_t adcGetChannel (uint8_t channel)
 
void adcInit (bool haveADC5)
 

Variables

static adc_config_t adcConfig [ADC_CHANNEL_MAX]
 
static volatile uint16_t adcValues [ADC_CHANNEL_MAX]
 

Typedef Documentation

typedef struct adc_config_t adc_config_t

Function Documentation

uint16_t adcGetChannel ( uint8_t  channel)

Definition at line 97 of file drv_adc.c.

void adcInit ( bool  haveADC5)

Definition at line 38 of file drv_adc.c.

Variable Documentation

adc_config_t adcConfig[ADC_CHANNEL_MAX]
static

Definition at line 35 of file drv_adc.c.

volatile uint16_t adcValues[ADC_CHANNEL_MAX]
static

Definition at line 36 of file drv_adc.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:26