blob: 68c6c065d79aa251b9e169cb622cc0811c0912c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "../timer.h"
#ifdef CONFIG_IOE_TIMERS
#ifdef COUNTER0_PWM
ISR(TIMER0_OVF_vect, ISR_BLOCK) {
if (timer_0_pwm_overflow)
timer_0_pwm_overflow();
}
#endif /* COUNTER0_PWM */
#ifdef COUNTER0_PWM
ISR(TIMER1_OVF_vect, ISR_BLOCK) {
if (timer_1_16pwm_overflow)
timer_1_16pwm_overflow();
}
#endif /* COUNTER0_PWM */
#ifdef COUNTER0_PWM
ISR(TIMER2_OVF_vect, ISR_BLOCK) {
if (timer_2_pwm_overflow)
timer_2_pwm_overflow();
}
#endif /* COUNTER0_PWM */
#endif /* CONFIG_IOE_TIMERS */
|