tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
351 stars 217 forks source link

TIMER 2 interrupts not working #158

Open anupam-dubey opened 7 months ago

anupam-dubey commented 7 months ago

Hi have used stm8s103 in sduino , i cannot able to write ISR for timer2 please help INTERRUPT_HANDLER(TIM2_UPD_OVF_IRQHandler, 13) / TIM4 UPD/OVF / {

i++; TIM2_ClearITPendingBit(TIM2_IT_UPDATE); TIM2_ClearFlag(TIM2_FLAG_UPDATE);

} void TIM2_Config(void) { //set at 100usec on overflow aims

/* TIM2 configuration: