feat: add STM8 mesh relay firmware

This commit is contained in:
十七
2026-11-02 20:30:08 +08:00
commit d275a3523b
27 changed files with 2985 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/**
* @file system_tick.h
* @brief 1 ms 系统节拍接口。
*/
#ifndef SYSTEM_TICK_H
#define SYSTEM_TICK_H
#include <stdint.h>
/** 初始化系统节拍定时器。 */
void SystemTick_Init(void);
/** 返回系统启动后经过的毫秒数。 */
uint32_t SystemTick_NowMs(void);
/** 在定时器中断服务程序中递增系统节拍。 */
void SystemTick_InterruptHandler(void);
#endif