Lazuli
interrupts.h
Go to the documentation of this file.
1 /*
2  * SPDX-License-Identifier: GPL-3.0-only
3  * This file is part of Lazuli.
4  */
5 
17 #ifndef LAZULI_SYS_ARCH_AVR_INTERRUPTS_H
18 #define LAZULI_SYS_ARCH_AVR_INTERRUPTS_H
19 
23 #define INT_RESET (0)
24 
28 #define INT_INT0 (1)
29 
33 #define INT_INT1 (2)
34 
38 #define INT_PCINT0 (3)
39 
43 #define INT_PCINT1 (4)
44 
48 #define INT_PCINT2 (5)
49 
53 #define INT_WDT (6)
54 
58 #define INT_TIMER2COMPA (7)
59 
63 #define INT_TIMER2COMPB (8)
64 
68 #define INT_TIMER2OVF (9)
69 
73 #define INT_TIMER1CAPT (10)
74 
78 #define INT_TIMER1COMPA (11)
79 
83 #define INT_TIMER1COMPB (12)
84 
88 #define INT_TIMER1OVF (13)
89 
93 #define INT_TIMER0COMPA (14)
94 
98 #define INT_TIMER0COMPB (15)
99 
103 #define INT_TIMER0OVF (16)
104 
108 #define INT_SPISTC (17)
109 
113 #define INT_USARTRX (18)
114 
118 #define INT_USARTUDRE (19)
119 
123 #define INT_USARTTX (20)
124 
128 #define INT_ADC (21)
129 
133 #define INT_EEREADY (22)
134 
138 #define INT_ANALOGCOMP (23)
139 
143 #define INT_TWI (24)
144 
148 #define INT_SPMREADY (25)
149 
153 #define INT_LAST_ENTRY INT_SPMREADY
154 
158 #define INT_TOTAL (INT_LAST_ENTRY + 1)
159 
160 #endif /* LAZULI_SYS_ARCH_AVR_INTERRUPTS_H */