NinjaFlight
|
#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"
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) |
#define ADC_ABP2_PERIPHERAL RCC_APB2Periph_ADC1 |
#define ADC_AHB_PERIPHERAL RCC_AHBPeriph_DMA1 |
#define ADC_DMA_CHANNEL DMA1_Channel1 |
#define ADC_INSTANCE ADC1 |
void adcInit | ( | drv_adc_config_t * | init | ) |