Skip to main content
Visitor II
July 15, 2020
Question

How to use Timer in an external interrupt

  • July 15, 2020
  • 1 reply
  • 1471 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

    Visitor II
    July 15, 2020

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

    SmediAuthor
    Visitor II
    July 16, 2020

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

    Regards

    Srikanth​