ardupilot/libraries/AP_IOMCU/iofirmware/analog.h

18 lines
195 B
C
Raw Normal View History

2019-03-22 23:32:56 -03:00
#pragma once
#include <stdint.h>
/*
initialise adc
*/
void adc_init(void);
/*
capture VSERVO
*/
uint16_t adc_sample_vservo(void);
/*
capture VRSSI
*/
uint16_t adc_sample_vrssi(void);