1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _FOCAL_MCAPTESTLIB_H
#define _FOCAL_MCAPTESTLIB_H
//zax 20141116+++++++++++++++++++++++
#define TX_NUM_MAX 80
#define RX_NUM_MAX 80
//zax 20141116-----------------------------
/*enum boolean {false = 0, true = 1,};*/
#define boolean unsigned char
#define false 0
#define true 1
typedef int (*FTS_I2c_Read_Function)(unsigned char *, int , unsigned char *, int);
typedef int (*FTS_I2c_Write_Function)(unsigned char *, int);
int Init_I2C_Read_Func(FTS_I2c_Read_Function fpI2C_Read);
int Init_I2C_Write_Func(FTS_I2c_Write_Function fpI2C_Write);
int SetParamData(char *TestParamData);
void FreeTestParamData(void);
//zax 20141114+++++++++++++++++++++++++
void focal_save_scap_sample(int *databuf, int num);
//zax 20141116 ++++++++++++++
void focal_save_scap_sample1();
//zax 20141116 -----------------
boolean StartTestTP(void); /*return true pass,else ng*/
boolean StartTestTP1(void);
//zax 20141114-----------------------------
//boolean GetData_RawDataTest(short **TestData, int *iTxNumber, int *iRxNumber, unsigned char FreqType, unsigned char FirState);/*FreqType: 0xff: default, 1:HighFreq, 0: LowFreq; FirState: 0xff: default, 1: On, 0: Off;*/
#endif
|