summaryrefslogtreecommitdiff
path: root/controller/fw/src/adc.h
blob: e5611cb9eb45e5d1568cbd537b352d151947b48a (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef __ADC_H__
#define __ADC_H__

void adc_init(void);

extern uint16_t adc_fft_buf[2][FMEAS_FFT_LEN];
/* set index of ready buffer in adc.c, reset to -1 in main.c after processing */
extern volatile int adc_fft_buf_ready_idx;

#endif /* __ADC_H__ */