mirror of https://github.com/ArduPilot/ardupilot
27 lines
348 B
C
27 lines
348 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
/*
|
|
initialise adc
|
|
*/
|
|
void adc_init(void);
|
|
|
|
/*
|
|
capture VSERVO
|
|
*/
|
|
uint16_t adc_vservo(void);
|
|
|
|
/*
|
|
capture VRSSI
|
|
*/
|
|
uint16_t adc_vrssi(void);
|
|
|
|
/* start another update */
|
|
void adc_sample_channels(void);
|
|
|
|
/* capture VRSSI */
|
|
void adc_enable_vrssi(void);
|
|
|
|
/* don't capture VRSSI */
|
|
void adc_disable_vrssi(void);
|