9ceb218f80
Co-authored-by: Cursor <cursoragent@cursor.com>
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
|
|
#ifndef MDU_SWH_CTRL_H
|
|
#define MDU_SWH_CTRL_H
|
|
|
|
#ifdef __cplusplus /*C++编译环境下兼容C语言*/
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*------ Exported includes(头文件) ----------------------*/
|
|
#include "main.h"
|
|
#include "mdu_comm/mdu_interface.h"
|
|
/*------ Exported macro(宏定义) -------------------------*/
|
|
|
|
/*------ Exported struct(结构体定义) --------------------*/
|
|
typedef struct
|
|
{
|
|
U8_T u8_start_flag; //模块运行开始标志 0未开始 1开始
|
|
U8_T u8_other_borrow_flag; //另一把枪 借用标志
|
|
U8_T u8_yk_cmd; //遥控命令枚举 0无 1快速启机 2快速启机停(不清空分组) 3软启开机 4充电停止(清空分组)
|
|
U16_T u16_need_vol; //需求电压 精度0.1
|
|
U16_T u16_need_cur; //需求电流 精度0.1
|
|
U16_T u16_one_mdu_need_cur; //单模块需求电流 精度0.1
|
|
}S_MDU_ALLOCATE_CTRL;
|
|
/*------ Exported variables(变量定义) -------------------*/
|
|
|
|
/*------ Exported function prototypes (函数声明) -------*/
|
|
void v_flow_ac_fan_ctrl(U16_T u16_sleep);
|
|
void v_mdu_shw_control(U16_T u16_leep_time);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* MDU_SWH_CTRL_H */
|