chore: 整理代码并更新文档
1. 新增并替换通信协议文档,删除旧版V2.0协议文档 2. 重构充电源逻辑,移除Set_CV_Flag相关变量和代码 3. 优化充电源关闭流程,修正寄存器配置逻辑 4. 完善Modbus输入寄存器回调和功能码处理逻辑 5. 调整输入寄存器映射表,简化寄存器定义 6. 为USB设备队列内存添加对齐宏定义 7. 新增南向电源Modbus寄存器头文档
This commit is contained in:
@@ -2237,6 +2237,7 @@ static struct rt_thread usb_thread;
|
||||
/* internal of the message queue: every message is associated with a pointer,
|
||||
* so in order to recveive USBD_MQ_MAX_MSG messages, we have to allocate more
|
||||
* than USBD_MQ_MSG_SZ*USBD_MQ_MAX_MSG memory. */
|
||||
rt_align(RT_ALIGN_SIZE)
|
||||
static rt_uint8_t usb_mq_pool[(USBD_MQ_MSG_SZ+sizeof(void*))*USBD_MQ_MAX_MSG];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user