Search found 1 match

by maslan
Tue Jan 21, 2025 8:23 pm
Forum: Hardware
Topic: anyone configured timer interrupt and willing to share
Replies: 0
Views: 652

anyone configured timer interrupt and willing to share

I have tried to implement after reading reference manual. It does not work. Here is my honest attempt: void timer1_setup(void) { PCR.timergroup1_timer_clk_conf.tg1_timer_clk_en = 1; PCR.timergroup1_conf.tg1_clk_en = 1; PCR.timergroup1_timer_clk_conf.tg1_timer_clk_sel = 2; // 80mhz TIMERG1.hw_timer[0...