/*
 * @Date: 2025-07-18 09:23:53
 * @Author: mypx
 * @LastEditors: mypx mypx_coder@163.com
 * @LastEditTime: 2025-08-19 14:02:23
 * @FilePath: data_process.h
 * @Description: 
 * Copyright (c) 2025 by mypx, All Rights Reserved.
 */
#ifndef __DATA_PROCESS_H__
#define __DATA_PROCESS_H__
#include "pm_common.h"

#define WAVE_SATURATED_THRESHOLD_MIN 0
#define WAVE_SATURATED_THRESHOLD_MAX 400

#define WAVE_50HZ_THRESHOLD_MIN 1800000
#define WAVE_50HZ_THRESHOLD_MAX 3000000

#define WAVE_FOCUS_THRESHOLD_MIN 0
#define WAVE_FOCUS_THRESHOLD_MAX 6000   // 越大进入减速越早但是必须和WAVE_50HZ_THRESHOLD_MIN拉开距离
#define BIGGEST_DIFF_IN_FOCUS    100000 // 最大的FOCUS状态下的power差值

#define AUTO_MEASURE_THRESHOLD_MIN 100


int data_process_init(void);
#endif
