演示将 GPIO 配置为上拉输入后,通过 WFI 进入低功耗 Halt 模式,并使用 PD6/KEY1 外部中断唤醒。使用前请核对板级引脚和中断处理。实测功耗会受调试接口、GPIO、电阻和板载器件影响。
- 检查目标 MCU、开发板、SDK 和工具链版本。
- 阅读工程配置及源码中的引脚、时钟和外设参数。
- 编译下载前备份现有固件,并在受控硬件上验证。
- 更多资料请访问 www.geehy.com。
Demonstrates configuring GPIO as pulled-up inputs, entering low-power Halt mode with WFI, and waking through the PD6/KEY1 external interrupt. Verify board pins and interrupt handling before use. Measured current depends on debug interfaces, GPIO states, resistors, and onboard devices.
- Verify the target MCU, board, SDK, and toolchain versions.
- Review pin, clock, and peripheral settings in the project and source code.
- Back up existing firmware and validate on controlled hardware before deployment.
- For more resources, visit www.geehy.com.