Files
microchip-application-pec93…/pec930_sdk-v1.0.1/Examples/tim/tim_InputCapture
2026-04-03 00:03:29 +08:00
..
2026-04-03 00:03:29 +08:00
2026-04-03 00:03:29 +08:00
2026-04-03 00:03:29 +08:00
2026-04-03 00:03:29 +08:00
2026-04-03 00:03:29 +08:00
2026-04-03 00:03:29 +08:00
2026-04-03 00:03:29 +08:00

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