docs: restructure framework, extract app execution module, group event collection & align GPIOs
This commit is contained in:
@@ -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 中断分频中被调度调用。
|
||||
|
||||
Reference in New Issue
Block a user