暂存
This commit is contained in:
10
App/event.h
10
App/event.h
@@ -53,7 +53,7 @@ bit EventQueue_IsFull(void);
|
||||
u8 EventQueue_GetCount(void);
|
||||
|
||||
|
||||
/* ====== 事件分发环与定时器驱动初始化 ====== */
|
||||
/* ====== 事件分发环 ====== */
|
||||
|
||||
/**
|
||||
* @brief 事件分发轮询主处理程序
|
||||
@@ -62,13 +62,7 @@ u8 EventQueue_GetCount(void);
|
||||
*/
|
||||
void Event_Dispatcher_Loop(void);
|
||||
|
||||
/**
|
||||
* @brief 初始化 Timer1 定时器,生成系统基准时钟 (1ms 中断)
|
||||
* @details 配置定时器 1 为 16 位自动重装载模式,设定中断周期为 1.0 毫秒,开启 Timer1 中断并启动计数。
|
||||
*/
|
||||
void Timer1_Init(void);
|
||||
|
||||
// 主循环按键扫描定时标志 (由 1ms 中断置 1,主循环响应清除)
|
||||
// 主循环按键扫描定时标志 (由 Drivers/timer.c 的 Timer1 1ms 中断置 1,主循环响应清除)
|
||||
extern volatile bit key_scan_flag;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user