/* * 模块名称: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 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 */