Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
sim_adc_generic.c
Go to the documentation of this file.
1 #include <caml/mlvalues.h>
2 #include <inttypes.h>
3 
6 
7 void adc_generic_init(void)
8 {
9 }
10 
12 {
13 }
14 
15 value update_adc1(value adc1)
16 {
17  adc_generic_val1 = Int_val(adc1);
18  return Val_unit;
19 }
uint16_t
unsigned short uint16_t
Definition: types.h:16
adc_generic_periodic
void adc_generic_periodic(void)
Definition: sim_adc_generic.c:11
update_adc1
value update_adc1(value adc1)
Definition: sim_adc_generic.c:15
adc_generic_val2
uint16_t adc_generic_val2
Definition: sim_adc_generic.c:5
adc_generic_init
void adc_generic_init(void)
Definition: sim_adc_generic.c:7
inttypes.h
adc_generic_val1
uint16_t adc_generic_val1
Definition: sim_adc_generic.c:4