tutorial about timer interrupt in STM8

hi all

i need a breif tutorial for timer inerrupt in STM8 MCUs, for ST visual Devalop IDE and cosmic compiler.
i want to use timer interrupt to make a stop watch. 
thanks in advancve

You can check the datasheet and make the code for timer interrupt. Have you checked it?

  Joined February 12, 2018      696
Monday at 02:11 PM

yes i tried a lot but timer interrupt doesnt work 

  Joined October 02, 2020      1
Friday at 09:33 AM

What is your code? what is the output of the circuit?

  Joined February 12, 2018      696
Monday at 02:11 PM