5#include DEF2STR(LIBXR_CH32_CONFIG_FILE)
7extern uint32_t SystemCoreClock;
21 static inline void OnSysTickInterrupt();
23 void Sync(uint32_t ticks);
25 static inline volatile uint32_t sys_tick_ms = 0;
MicrosecondTimestamp _get_microseconds() override
纯虚函数,获取当前时间的微秒级时间戳(由派生类实现)。 Pure virtual function for obtaining the current timestamp in microseconds...
MillisecondTimestamp _get_milliseconds() override
纯虚函数,获取当前时间的毫秒级时间戳(由派生类实现)。 Pure virtual function for obtaining the current timestamp in milliseconds...
表示微秒级时间戳的类。Class representing a timestamp in microseconds.
表示毫秒级时间戳的类。Class representing a timestamp in milliseconds.
时间基类,用于提供高精度时间戳。 Timebase class for providing high-precision timestamps.