ardupilot/libraries/AP_IOMCU/iofirmware/analog.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
348 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
*/
2023-12-09 09:54:26 -04:00
uint16_t adc_vservo(void);
/*
capture VRSSI
*/
2023-12-09 09:54:26 -04:00
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);