NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
adc_stm32f10x.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <platform.h>
#include "build_config.h"
#include "system.h"
#include "sensor.h"
#include "accgyro.h"
#include "adc.h"
#include "adc_impl.h"
Include dependency graph for adc_stm32f10x.c:

Macros

#define ADC_INSTANCE   ADC1
 
#define ADC_ABP2_PERIPHERAL   RCC_APB2Periph_ADC1
 
#define ADC_AHB_PERIPHERAL   RCC_AHBPeriph_DMA1
 
#define ADC_DMA_CHANNEL   DMA1_Channel1
 

Functions

void adcInit (drv_adc_config_t *init)
 

Macro Definition Documentation

#define ADC_ABP2_PERIPHERAL   RCC_APB2Periph_ADC1
#define ADC_AHB_PERIPHERAL   RCC_AHBPeriph_DMA1
#define ADC_DMA_CHANNEL   DMA1_Channel1
#define ADC_INSTANCE   ADC1

Function Documentation

void adcInit ( drv_adc_config_t init)

Here is the call graph for this function: