dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_internal_adc_light_priv.h
Go to the documentation of this file.
1 
14 /*
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 3 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful, but
21  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23  * for more details.
24  *
25  * You should have received a copy of the GNU General Public License along
26  * with this program; if not, see <http://www.gnu.org/licenses/>
27  */
28 
29 #ifndef PIOS_INTERNAL_ADC_LIGHT_PRIV_H
30 #define PIOS_INTERNAL_ADC_LIGHT_PRIV_H
31 
32 #include <pios.h>
33 #include <pios_stm32.h>
34 #include <pios_internal_adc.h>
35 #include <pios_internal_adc_priv.h>
36 
37 extern int32_t PIOS_INTERNAL_ADC_LIGHT_Init(uintptr_t *internal_adc_id,
38  const struct pios_internal_adc_cfg *cfg,
39  uint16_t number_of_used_pins);
40 
41 #endif /* PIOS_INTERNAL_ADC_LIGHT_PRIV_H */
42 
Types that are specific to the STM32 peripherals.
Main PiOS header to include all the compiled in PiOS options.
static struct flyingpicmd_cfg_fa cfg
Definition: main.c:49
ADC private definitions.
ADC functions header.
int32_t PIOS_INTERNAL_ADC_LIGHT_Init(uintptr_t *internal_adc_id, const struct pios_internal_adc_cfg *cfg, uint16_t number_of_used_pins)