第一次提交
This commit is contained in:
32
Bsp/scan.h
Normal file
32
Bsp/scan.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user