2026-03-13 22:42:57 +08:00

19 lines
479 B
C

#ifndef DVP_H_
#define DVP_H_
#include "ch32v30x.h"
#define SENSOR_WIDTH 256
#define SENSOR_HEIGHT 192
#define SENSOR_TOTAL_LINES (SENSOR_HEIGHT + 1) // +1 参数行
#define BYTES_PER_LINE (SENSOR_WIDTH * 2) // 每行512字节
#define ALARM_TEMP_RAW 8000 // 80.00℃ (raw/100)
extern volatile uint8_t Line_Ready_Flag;
extern volatile uint8_t *Ready_Line_Ptr;
extern volatile uint32_t current_line_idx;
void DVP_Init(void);
void DVP_Task(void);
#endif