修复多连接的问题

This commit is contained in:
2026-07-19 15:27:49 +08:00
parent 9ed4c22022
commit e06d849007
38 changed files with 2475 additions and 1953 deletions

29
App/sys_time.h Normal file
View File

@@ -0,0 +1,29 @@
/*
* 模块名称System Timer
* 模块功能:基于 DWT CYCCNT + SysTick 溢出的 64 位微秒级时间戳
* 适用平台STM32F407ZGTx (Cortex-M4 FPU)
* 作者:王建锋
* 创建日期2026-07-19
* 修改记录:
* v1.0 2026-07-19 王建锋 创建初始版本
*/
#ifndef __SYS_TIME_H
#define __SYS_TIME_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
int sys_time_init(void);
uint64_t sys_time_us(void);
uint64_t sys_time_ms(void);
void sys_time_systick_hook(void);
#ifdef __cplusplus
}
#endif
#endif /* __SYS_TIME_H */