#include "Adc.h" #include "JAPI.h" #define BufferPiece 8 #define AdcBufferHalfSize (AdcBufferSize/2) #define uiCurrentPos ((*((unsigned int*)JAPI_GetAdcPosAddr()))-(unsigned int)ausRecord) volatile unsigned int uiStartAddress; extern void wait_keys(void); #define ausRecord ((unsigned char*)0xffe76000) unsigned short Adc_Get_Recorded_Data_Length(void) { unsigned short ret; if(uiCurrentPosuiStartAddress+AdcBufferSize) return 1; else return 0; } else { if(uiCurrentPos