Question
Difference between Update and Overflow interrupt
Posted on January 13, 2018 at 17:34
Hello,
I would like to ask about difference between update and overflow interrupt on STM8.
For Example, on Timer2:
//F_CPU 1Mhz
//Timer2 - 16bit, max value = 65535
TIM2_TimeBaseInit(TIM2_PRESCALER_1, 999);
As I understand:
1. Overflow interrupt will occur after counting to max value of timer = 65536
2. Update interrupt will occur after counting to value 999
Is it right?
