#pragma once
#include "derivative.h"
#define ADC_M 2048
extern int16_t adc_buf[ADC_M];
extern uint16_t pADC;
extern uint8_t fADC;
void adc0_Init();
int16_t adc0_TR_DATA();
void adc0_read_buf(int16_t *data, uint16_t len);