mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
gptimer: support esp32h2
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
# Example: General Purpose Timer
|
||||
|
||||
This example uses the timer group driver to generate timer interrupts at two specified alarm intervals.
|
||||
This example uses the **legacy timer group driver** to generate timer interrupts with and without auto-reload. But we highly recommend you to use the new [GPTimer Driver](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/gptimer.html) in your new projects.
|
||||
|
||||
## How to Use Example
|
||||
|
||||
@@ -19,9 +19,10 @@ Run `idf.py -p PORT flash monitor` to build, flash and monitor the project.
|
||||
(To exit the serial monitor, type ``Ctrl-]``.)
|
||||
|
||||
See the [ESP-IDF Getting Started Guide](https://idf.espressif.com/) for all the steps to configure and use the ESP-IDF to build projects.
|
||||
|
||||
## Example Output
|
||||
|
||||
```
|
||||
```text
|
||||
I (0) cpu_start: Starting scheduler on APP CPU.
|
||||
I (325) example: Init timer with auto-reload
|
||||
I (835) example: Timer auto reloaded, count value in ISR: 3
|
||||
|
Reference in New Issue
Block a user