#ifndef SYS_SYSTICK_H #define SYS_SYSTICK_H #include /** * @brief SysTick 时基模块。 * @note 负责 1ms 系统节拍维护与阻塞式毫秒延时。 */ class SysTickTimer { public: static void initMs(); static void delayMs(uint32_t ms); static void onInterrupt(); private: static volatile uint32_t s_ms; }; #endif /* SYS_SYSTICK_H */