Skip to main content
Smedi
Associate III
July 15, 2020
Question

How to use Timer in an external interrupt

  • July 15, 2020
  • 1 reply
  • 2176 views

I have an STM8S00f3p6 controller I was able to do the external interrupt and do the GPIO operations in the interrupt.Now my requirement is like after getting the inerrupt I need to make two GPIOS high for some seconds and make them down after time expires.I need help on this how to do the timer operation here.Other than timer any way is there also fine.

Regards

Srikanth.

This topic has been closed for replies.

1 reply

S.Ma
Principal
July 15, 2020

why not use 2 timer compare outputs enabled by input capture? no interrupt..

Smedi
SmediAuthor
Associate III
July 16, 2020

Thanks for the reply can you give a sample how to implement this. I am not getting picture

Regards

Srikanth​