TIM_inputCapture_project
This example is a demo project to TIM inputCapture
Hardware and Software environment
- This example runs on PEC930 devices.
Log
- Use channel 2 as the input capture channel
- Obtain the count value in the interrupt and clear the flag bit