add more comments

This commit is contained in:
wmano
2025-11-18 00:40:02 +08:00
parent 9b3e035b75
commit 7e463e56ad
48 changed files with 2334 additions and 497 deletions
+17
View File
@@ -1,3 +1,12 @@
/****************************************************************************
文件名称 : chrg_sink.c
完成日期 :
当前版本号 : V1.0
主要功能 : 北向数据sink请求数据填充及发送,命令字定义。
版本历史 : 创建原始版本
说明 :
******************************************************************************/
#ifndef __CHRG_SINK_H__
#define __CHRG_SINK_H__
@@ -142,6 +151,14 @@ struct chrg_sink_t {
rt_uint8_t cc_lvl; // 设置CC线电平等级(0-10,默认7)
};
/*****************************************************************
函数名称: sink_get_vc
函数描述: sink电压电流查询请求
输入参数: vol:电压 cur:电流
输出参数: -
返回说明: <0: 错误 >0:发送长度
其它说明: -
*****************************************************************/
extern int sink_get_vc (rt_uint16_t vol, rt_uint16_t cur);
#endif