18.5. GPTMR ONE-SHOT COUNTER MODE
18.5.1. Overview
The sample Demonstrates the timer single mode function. where the counter stops timing after reaching the reload value.
18.5.2. Board Setting
none
18.5.3. Running the example
Run the project and execute the timer one-shot mode function. The serial terminal outputs the following information
gptmr opmode test
now gptmr is opmode one-shot mode
gptmr opmode test done