2026-02-03 11:37:13 +08:00
|
|
|
TIM_inputCapture_project
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
This example is a demo project to TIM inputCapture
|
|
|
|
|
|
|
|
|
|
## Hardware and Software environment
|
|
|
|
|
|
2026-03-20 14:48:24 +08:00
|
|
|
+ This example runs on PEC930 devices.
|
2026-02-03 11:37:13 +08:00
|
|
|
|
|
|
|
|
## Log
|
|
|
|
|
|
|
|
|
|
+ Use channel 2 as the input capture channel
|
|
|
|
|
+ Obtain the count value in the interrupt and clear the flag bit
|
|
|
|
|
|