#ifndef __SCAN_H
#define __SCAN_H
#include "at32a423.h"
#include "main.h"
/*32x64 Data_Array*/
typedef struct
{
	 uint16_t sensorB_raw_value[AX_NUM];
	 uint16_t sensorB_ref_value[AX_NUM];
	 uint16_t sensorB_resi_output[AX_NUM];
	 uint8_t sensorB_display_output[AX_NUM];
	 uint8_t sensorB_voltage[AX_NUM][AY_NUM];
}adc_value_frame_struct;

typedef enum SENSOR_NAME
{
	SENSOR_A,
	SENSOR_B
} SENSOR_NAME_T;

typedef enum
{
	REFER_RESISTACE,
	RAW_RESISTACE
}RESISTACE_NAME;



void scan_y(adc_value_frame_struct *adc_raw_value,uint8_t count_y);
void align_init(void);

#endif
