cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Timer in an external interrupt

Smedi
Associate II

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.

2 REPLIES 2
S.Ma
Principal

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

Smedi
Associate II

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

Regards

Srikanth​