/* * @Date: 2025-07-07 14:25:53 * @Author: mypx * @LastEditors: mypx mypx_coder@163.com * @LastEditTime: 2025-09-24 16:13:32 * @FilePath: pm_device.h * @Description: * Copyright (c) 2025 by mypx, All Rights Reserved. */ #ifndef __PM_DEVICE_H__ #define __PM_DEVICE_H__ #include "pm_board.h" #include "bsp_encoder.h" #include "mb_command.h" #include "tec_control.h" #include "pm_params.h" #include "pm_meas.h" #include "hmi_server.h" typedef struct { pm_params_t params; tec_control_t tec; // temperature control hmi_server_t hmi; pm_fsm_t fz_fsm; } pm_device_t; int pm_device_init(pm_device_t *dev); int pm_device_start(pm_device_t *dev); #endif // __PM_DEVICE_H__