Files
microchip-application-pec93…/Examples/tim/tim_Synchro
2026-02-03 11:37:13 +08:00
..
2026-02-03 11:37:13 +08:00
2026-02-03 11:37:13 +08:00
2026-02-03 11:37:13 +08:00
2026-02-03 11:37:13 +08:00
2026-02-03 11:37:13 +08:00
2026-02-03 11:37:13 +08:00

TIM_Synchro_project

This example is a demo project to TIM Synchro

Hardware and Software environment

  • This example runs on PB5700 devices.

Log

  • TIM Synchronize with a trigger signal
  • CONFIG_SYNCHRO_EXT External pins
  • CONFIG_SYNCHRO_ITR1 TIM0
  • Reset mode: After the rising edge, the counter will reset to zero and start counting again
  • Gate control mode: PWM has output at high level and no output at low level
  • Trigger mode: The counter only starts after the rising edge arrives