第一次提交

This commit is contained in:
2026-04-09 10:14:20 +08:00
commit e325a77b42
584 changed files with 279711 additions and 0 deletions

32
Bsp/scan.h Normal file
View 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