224
224
/* Interrupt vectors */
226
226
/* External Interrupt 0 */
227
#define INT0_vect _VECTOR(1)
227
#define INT0_vect_num 1
228
#define INT0_vect _VECTOR(1)
228
229
#define SIG_INTERRUPT0 _VECTOR(1)
230
231
/* External Interrupt 1 */
231
#define INT1_vect _VECTOR(2)
232
#define INT1_vect_num 2
233
#define INT1_vect _VECTOR(2)
232
234
#define SIG_INTERRUPT1 _VECTOR(2)
234
236
/* External Interrupt 2 */
235
#define INT2_vect _VECTOR(3)
237
#define INT2_vect_num 3
238
#define INT2_vect _VECTOR(3)
236
239
#define SIG_INTERRUPT2 _VECTOR(3)
238
241
/* External Interrupt 3 */
239
#define INT3_vect _VECTOR(4)
242
#define INT3_vect_num 4
243
#define INT3_vect _VECTOR(4)
240
244
#define SIG_INTERRUPT3 _VECTOR(4)
242
246
/* External Interrupt 4 */
243
#define INT4_vect _VECTOR(5)
247
#define INT4_vect_num 5
248
#define INT4_vect _VECTOR(5)
244
249
#define SIG_INTERRUPT4 _VECTOR(5)
246
251
/* External Interrupt 5 */
247
#define INT5_vect _VECTOR(6)
252
#define INT5_vect_num 6
253
#define INT5_vect _VECTOR(6)
248
254
#define SIG_INTERRUPT5 _VECTOR(6)
250
256
/* External Interrupt 6 */
251
#define INT6_vect _VECTOR(7)
257
#define INT6_vect_num 7
258
#define INT6_vect _VECTOR(7)
252
259
#define SIG_INTERRUPT6 _VECTOR(7)
254
261
/* External Interrupt 7 */
255
#define INT7_vect _VECTOR(8)
262
#define INT7_vect_num 8
263
#define INT7_vect _VECTOR(8)
256
264
#define SIG_INTERRUPT7 _VECTOR(8)
258
266
/* Timer/Counter2 Compare Match */
267
#define TIMER2_COMP_vect_num 9
259
268
#define TIMER2_COMP_vect _VECTOR(9)
260
269
#define SIG_OUTPUT_COMPARE2 _VECTOR(9)
262
271
/* Timer/Counter2 Overflow */
272
#define TIMER2_OVF_vect_num 10
263
273
#define TIMER2_OVF_vect _VECTOR(10)
264
274
#define SIG_OVERFLOW2 _VECTOR(10)
266
276
/* Timer/Counter1 Capture Event */
277
#define TIMER1_CAPT_vect_num 11
267
278
#define TIMER1_CAPT_vect _VECTOR(11)
268
279
#define SIG_INPUT_CAPTURE1 _VECTOR(11)
270
281
/* Timer/Counter1 Compare Match A */
282
#define TIMER1_COMPA_vect_num 12
271
283
#define TIMER1_COMPA_vect _VECTOR(12)
272
#define SIG_OUTPUT_COMPARE1A _VECTOR(12)
284
#define SIG_OUTPUT_COMPARE1A _VECTOR(12)
274
286
/* Timer/Counter1 Compare Match B */
287
#define TIMER1_COMPB_vect_num 13
275
288
#define TIMER1_COMPB_vect _VECTOR(13)
276
#define SIG_OUTPUT_COMPARE1B _VECTOR(13)
289
#define SIG_OUTPUT_COMPARE1B _VECTOR(13)
278
291
/* Timer/Counter1 Overflow */
292
#define TIMER1_OVF_vect_num 14
279
293
#define TIMER1_OVF_vect _VECTOR(14)
280
294
#define SIG_OVERFLOW1 _VECTOR(14)
282
296
/* Timer/Counter0 Compare Match */
297
#define TIMER0_COMP_vect_num 15
283
298
#define TIMER0_COMP_vect _VECTOR(15)
284
299
#define SIG_OUTPUT_COMPARE0 _VECTOR(15)
286
301
/* Timer/Counter0 Overflow */
302
#define TIMER0_OVF_vect_num 16
287
303
#define TIMER0_OVF_vect _VECTOR(16)
288
304
#define SIG_OVERFLOW0 _VECTOR(16)
290
306
/* SPI Serial Transfer Complete */
307
#define SPI_STC_vect_num 17
291
308
#define SPI_STC_vect _VECTOR(17)
292
#define SIG_SPI _VECTOR(17)
309
#define SIG_SPI _VECTOR(17)
294
311
/* UART, Rx Complete */
312
#define UART_RX_vect_num 18
295
313
#define UART_RX_vect _VECTOR(18)
296
314
#define SIG_UART_RECV _VECTOR(18)
298
316
/* UART Data Register Empty */
317
#define UART_UDRE_vect_num 19
299
318
#define UART_UDRE_vect _VECTOR(19)
300
319
#define SIG_UART_DATA _VECTOR(19)
302
321
/* UART, Tx Complete */
322
#define UART_TX_vect_num 20
303
323
#define UART_TX_vect _VECTOR(20)
304
324
#define SIG_UART_TRANS _VECTOR(20)
306
326
/* ADC Conversion Complete */
307
#define ADC_vect _VECTOR(21)
308
#define SIG_ADC _VECTOR(21)
327
#define ADC_vect_num 21
328
#define ADC_vect _VECTOR(21)
329
#define SIG_ADC _VECTOR(21)
310
331
/* EEPROM Ready */
332
#define EE_READY_vect_num 22
311
333
#define EE_READY_vect _VECTOR(22)
312
334
#define SIG_EEPROM_READY _VECTOR(22)
314
336
/* Analog Comparator */
337
#define ANALOG_COMP_vect_num 23
315
338
#define ANALOG_COMP_vect _VECTOR(23)
316
339
#define SIG_COMPARATOR _VECTOR(23)
672
695
#define SIGNATURE_2 0x01
699
/* Deprecated items */
700
#if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
702
#pragma GCC system_header
704
#pragma GCC poison SIG_INTERRUPT0
705
#pragma GCC poison SIG_INTERRUPT1
706
#pragma GCC poison SIG_INTERRUPT2
707
#pragma GCC poison SIG_INTERRUPT3
708
#pragma GCC poison SIG_INTERRUPT4
709
#pragma GCC poison SIG_INTERRUPT5
710
#pragma GCC poison SIG_INTERRUPT6
711
#pragma GCC poison SIG_INTERRUPT7
712
#pragma GCC poison SIG_OUTPUT_COMPARE2
713
#pragma GCC poison SIG_OVERFLOW2
714
#pragma GCC poison SIG_INPUT_CAPTURE1
715
#pragma GCC poison SIG_OUTPUT_COMPARE1A
716
#pragma GCC poison SIG_OUTPUT_COMPARE1B
717
#pragma GCC poison SIG_OVERFLOW1
718
#pragma GCC poison SIG_OUTPUT_COMPARE0
719
#pragma GCC poison SIG_OVERFLOW0
720
#pragma GCC poison SIG_SPI
721
#pragma GCC poison SIG_UART_RECV
722
#pragma GCC poison SIG_UART_DATA
723
#pragma GCC poison SIG_UART_TRANS
724
#pragma GCC poison SIG_ADC
725
#pragma GCC poison SIG_EEPROM_READY
726
#pragma GCC poison SIG_COMPARATOR
728
#endif /* !defined(__AVR_LIBC_DEPRECATED_ENABLE__) */
675
731
#endif /* _AVR_IOM103_H_ */