228
228
/* Interrupt vectors */
230
230
/* External Interrupt 0 */
231
#define INT0_vect _VECTOR(1)
231
#define INT0_vect_num 1
232
#define INT0_vect _VECTOR(1)
232
233
#define SIG_INTERRUPT0 _VECTOR(1)
234
235
/* External Interrupt 1 */
235
#define INT1_vect _VECTOR(2)
236
#define INT1_vect_num 2
237
#define INT1_vect _VECTOR(2)
236
238
#define SIG_INTERRUPT1 _VECTOR(2)
238
240
/* External Interrupt 2 */
239
#define INT2_vect _VECTOR(3)
241
#define INT2_vect_num 3
242
#define INT2_vect _VECTOR(3)
240
243
#define SIG_INTERRUPT2 _VECTOR(3)
242
245
/* Timer/Counter2 Compare Match */
246
#define TIMER2_COMP_vect_num 4
243
247
#define TIMER2_COMP_vect _VECTOR(4)
244
248
#define SIG_OUTPUT_COMPARE2 _VECTOR(4)
246
250
/* Timer/Counter2 Overflow */
251
#define TIMER2_OVF_vect_num 5
247
252
#define TIMER2_OVF_vect _VECTOR(5)
248
253
#define SIG_OVERFLOW2 _VECTOR(5)
250
255
/* Timer/Counter1 Capture Event */
256
#define TIMER1_CAPT_vect_num 6
251
257
#define TIMER1_CAPT_vect _VECTOR(6)
252
258
#define SIG_INPUT_CAPTURE1 _VECTOR(6)
254
260
/* Timer/Counter1 Compare Match A */
261
#define TIMER1_COMPA_vect_num 7
255
262
#define TIMER1_COMPA_vect _VECTOR(7)
256
#define SIG_OUTPUT_COMPARE1A _VECTOR(7)
263
#define SIG_OUTPUT_COMPARE1A _VECTOR(7)
258
265
/* Timer/Counter1 Compare Match B */
266
#define TIMER1_COMPB_vect_num 8
259
267
#define TIMER1_COMPB_vect _VECTOR(8)
260
#define SIG_OUTPUT_COMPARE1B _VECTOR(8)
268
#define SIG_OUTPUT_COMPARE1B _VECTOR(8)
262
270
/* Timer/Counter1 Overflow */
271
#define TIMER1_OVF_vect_num 9
263
272
#define TIMER1_OVF_vect _VECTOR(9)
264
273
#define SIG_OVERFLOW1 _VECTOR(9)
266
275
/* Timer/Counter0 Compare Match */
276
#define TIMER0_COMP_vect_num 10
267
277
#define TIMER0_COMP_vect _VECTOR(10)
268
278
#define SIG_OUTPUT_COMPARE0 _VECTOR(10)
270
280
/* Timer/Counter0 Overflow */
281
#define TIMER0_OVF_vect_num 11
271
282
#define TIMER0_OVF_vect _VECTOR(11)
272
283
#define SIG_OVERFLOW0 _VECTOR(11)
274
285
/* Serial Transfer Complete */
286
#define SPI_STC_vect_num 12
275
287
#define SPI_STC_vect _VECTOR(12)
276
#define SIG_SPI _VECTOR(12)
288
#define SIG_SPI _VECTOR(12)
278
290
/* UART0, Rx Complete */
291
#define UART0_RX_vect_num 13
279
292
#define UART0_RX_vect _VECTOR(13)
280
293
#define SIG_UART0_RECV _VECTOR(13)
282
295
/* UART1, Rx Complete */
296
#define UART1_RX_vect_num 14
283
297
#define UART1_RX_vect _VECTOR(14)
284
298
#define SIG_UART1_RECV _VECTOR(14)
286
300
/* UART0 Data Register Empty */
301
#define UART0_UDRE_vect_num 15
287
302
#define UART0_UDRE_vect _VECTOR(15)
288
303
#define SIG_UART0_DATA _VECTOR(15)
290
305
/* UART1 Data Register Empty */
306
#define UART1_UDRE_vect_num 16
291
307
#define UART1_UDRE_vect _VECTOR(16)
292
308
#define SIG_UART1_DATA _VECTOR(16)
294
310
/* UART0, Tx Complete */
311
#define UART0_TX_vect_num 17
295
312
#define UART0_TX_vect _VECTOR(17)
296
313
#define SIG_UART0_TRANS _VECTOR(17)
298
315
/* UART1, Tx Complete */
316
#define UART1_TX_vect_num 18
299
317
#define UART1_TX_vect _VECTOR(18)
300
318
#define SIG_UART1_TRANS _VECTOR(18)
302
320
/* EEPROM Ready */
303
#define EE_RDY_vect _VECTOR(19)
321
#define EE_RDY_vect_num 19
322
#define EE_RDY_vect _VECTOR(19)
304
323
#define SIG_EEPROM_READY _VECTOR(19)
306
325
/* Analog Comparator */
326
#define ANA_COMP_vect_num 20
307
327
#define ANA_COMP_vect _VECTOR(20)
308
328
#define SIG_COMPARATOR _VECTOR(20)
670
690
#define SIGNATURE_2 0x01
693
/* Deprecated items */
694
#if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
696
#pragma GCC system_header
698
#pragma GCC poison SIG_INTERRUPT0
699
#pragma GCC poison SIG_INTERRUPT1
700
#pragma GCC poison SIG_INTERRUPT2
701
#pragma GCC poison SIG_OUTPUT_COMPARE2
702
#pragma GCC poison SIG_OVERFLOW2
703
#pragma GCC poison SIG_INPUT_CAPTURE1
704
#pragma GCC poison SIG_OUTPUT_COMPARE1A
705
#pragma GCC poison SIG_OUTPUT_COMPARE1B
706
#pragma GCC poison SIG_OVERFLOW1
707
#pragma GCC poison SIG_OUTPUT_COMPARE0
708
#pragma GCC poison SIG_OVERFLOW0
709
#pragma GCC poison SIG_SPI
710
#pragma GCC poison SIG_UART0_RECV
711
#pragma GCC poison SIG_UART1_RECV
712
#pragma GCC poison SIG_UART0_DATA
713
#pragma GCC poison SIG_UART1_DATA
714
#pragma GCC poison SIG_UART0_TRANS
715
#pragma GCC poison SIG_UART1_TRANS
716
#pragma GCC poison SIG_EEPROM_READY
717
#pragma GCC poison SIG_COMPARATOR
719
#endif /* !defined(__AVR_LIBC_DEPRECATED_ENABLE__) */
673
722
#endif /* _AVR_IOM161_H_ */