docs: restructure framework, extract app execution module, group event collection & align GPIOs

This commit is contained in:
2026-07-10 10:47:00 +08:00
parent a04ea5fb51
commit b640fa25ae
24 changed files with 428 additions and 213 deletions

View File

@@ -14,7 +14,7 @@
## 2. 接口与函数说明
* `void Motor_Init(void)`:配置 Pin 25 (`P2.4` / MOTOR_PWM) 为推挽输出,默认输出 `MOTOR_PWM = 0`
* `void Motor_Init(void)`:配置 Pin 26 (`P2.5` / MOTOR_PWM) 为推挽输出,默认输出 `MOTOR_PWM = 0`
* `void Motor_Start_Pattern(u8 pattern_type)`:传入震动节奏类型(按键微振/各防区警报震动/主动SOS循环震装载维持时间片开启异步状态机。
* `void Motor_Pulse_Process(void)`
在 Timer1 的 10ms 中断分频中被调度调用。