Files
十七 ebef6a8694 feat: complete assembly mesh relay control path
- synchronize STM8 application and external flash layout updates\n- add assembly bootloader and assembly application test projects\n- add UART1 interrupt receive ring buffer\n- parse JDY-28M Mesh outer frames and source addresses\n- add CRC-16/MODBUS validation\n- implement relay control command 0x01 and response 0x81\n- support unicast and broadcast relay control frames\n- update host protocol, OTA documents, and serial tools
2026-11-05 16:12:51 +08:00

22 lines
543 B
C

/**
* @file system_tick.h
* @brief 1 ms 系统节拍接口。
*/
#ifndef SYSTEM_TICK_H
#define SYSTEM_TICK_H
#include <stdint.h>
/** 初始化系统节拍定时器。 */
void SystemTick_Init(void);
/** 返回系统启动后经过的毫秒数;约49.7天回绕一次。 */
uint32_t SystemTick_NowMs(void);
/** 在定时器中断服务程序中递增系统节拍。 */
void SystemTick_InterruptHandler(void);
/** TIM4中断处理函数主体,由主程序固定中断向量入口调用。 */
void SystemTick_TIM4_Handler(void);
#endif