.. _gptmr_one_shot_counter_mode: 定时器单次模式功能 ================== 概述 ------ 该示例工程演示了定时器单次模式功能功能,计数器到达重载值后停止计时。 硬件设置 ------------ 无 运行现象 ------------ 运行工程,示例执行定时器单次模式功能功能,串口终端输出如下信息 .. code-block:: console gptmr opmode test now gptmr is opmode one-shot mode gptmr opmode test done