5#include DEF2STR(LIBXR_CH32_CONFIG_FILE)
7extern uint32_t SystemCoreClock;
37 void Sync(uint32_t ticks);
CH32 时间基准实现 / CH32 timebase implementation.
void Sync(uint32_t ticks)
同步毫秒计数器。 Synchronize the millisecond counter.
static void OnSysTickInterrupt()
SysTick 中断入口辅助函数。 Helper called from the SysTick interrupt path.
static volatile uint32_t sys_tick_ms_
SysTick 毫秒计数器。 SysTick millisecond counter.
CH32Timebase()
构造函数 / Constructor
时间基类,用于提供高精度时间戳。 Timebase class for providing high-precision timestamps.