1300
1300
/* Interrupt vectors */
1301
1301
/* Vector 0 is the reset vector */
1302
1302
/* External Interrupt Request 0 */
1303
#define INT0_vect_num 1
1303
1304
#define INT0_vect _VECTOR(1)
1304
1305
#define SIG_INTERRUPT0 _VECTOR(1)
1306
1307
/* External Interrupt Request 1 */
1308
#define INT1_vect_num 2
1307
1309
#define INT1_vect _VECTOR(2)
1308
1310
#define SIG_INTERRUPT1 _VECTOR(2)
1310
1312
/* External Interrupt Request 2 */
1313
#define INT2_vect_num 3
1311
1314
#define INT2_vect _VECTOR(3)
1312
1315
#define SIG_INTERRUPT2 _VECTOR(3)
1314
1317
/* External Interrupt Request 3 */
1318
#define INT3_vect_num 4
1315
1319
#define INT3_vect _VECTOR(4)
1316
1320
#define SIG_INTERRUPT3 _VECTOR(4)
1318
1322
/* External Interrupt Request 4 */
1323
#define INT4_vect_num 5
1319
1324
#define INT4_vect _VECTOR(5)
1320
1325
#define SIG_INTERRUPT4 _VECTOR(5)
1322
1327
/* External Interrupt Request 5 */
1328
#define INT5_vect_num 6
1323
1329
#define INT5_vect _VECTOR(6)
1324
1330
#define SIG_INTERRUPT5 _VECTOR(6)
1326
1332
/* External Interrupt Request 6 */
1333
#define INT6_vect_num 7
1327
1334
#define INT6_vect _VECTOR(7)
1328
1335
#define SIG_INTERRUPT6 _VECTOR(7)
1330
1337
/* External Interrupt Request 7 */
1338
#define INT7_vect_num 8
1331
1339
#define INT7_vect _VECTOR(8)
1332
1340
#define SIG_INTERRUPT7 _VECTOR(8)
1334
1342
/* Pin Change Interrupt Request 0 */
1343
#define PCINT0_vect_num 9
1335
1344
#define PCINT0_vect _VECTOR(9)
1336
1345
#define SIG_PIN_CHANGE0 _VECTOR(9)
1338
1347
/* Pin Change Interrupt Request 1 */
1348
#define PCINT1_vect_num 10
1339
1349
#define PCINT1_vect _VECTOR(10)
1340
1350
#define SIG_PIN_CHANGE1 _VECTOR(10)
1342
1352
#if defined(__ATmegaxx0__)
1343
1353
/* Pin Change Interrupt Request 2 */
1354
#define PCINT2_vect_num 11
1344
1355
#define PCINT2_vect _VECTOR(11)
1345
1356
#define SIG_PIN_CHANGE2 _VECTOR(11)
1347
1358
#endif /* __ATmegaxx0__ */
1349
1360
/* Watchdog Time-out Interrupt */
1361
#define WDT_vect_num 12
1350
1362
#define WDT_vect _VECTOR(12)
1351
1363
#define SIG_WATCHDOG_TIMEOUT _VECTOR(12)
1353
1365
/* Timer/Counter2 Compare Match A */
1366
#define TIMER2_COMPA_vect_num 13
1354
1367
#define TIMER2_COMPA_vect _VECTOR(13)
1355
1368
#define SIG_OUTPUT_COMPARE2A _VECTOR(13)
1357
1370
/* Timer/Counter2 Compare Match B */
1371
#define TIMER2_COMPB_vect_num 14
1358
1372
#define TIMER2_COMPB_vect _VECTOR(14)
1359
1373
#define SIG_OUTPUT_COMPARE2B _VECTOR(14)
1361
1375
/* Timer/Counter2 Overflow */
1376
#define TIMER2_OVF_vect_num 15
1362
1377
#define TIMER2_OVF_vect _VECTOR(15)
1363
1378
#define SIG_OVERFLOW2 _VECTOR(15)
1365
1380
/* Timer/Counter1 Capture Event */
1381
#define TIMER1_CAPT_vect_num 16
1366
1382
#define TIMER1_CAPT_vect _VECTOR(16)
1367
1383
#define SIG_INPUT_CAPTURE1 _VECTOR(16)
1369
1385
/* Timer/Counter1 Compare Match A */
1386
#define TIMER1_COMPA_vect_num 17
1370
1387
#define TIMER1_COMPA_vect _VECTOR(17)
1371
1388
#define SIG_OUTPUT_COMPARE1A _VECTOR(17)
1373
1390
/* Timer/Counter1 Compare Match B */
1391
#define TIMER1_COMPB_vect_num 18
1374
1392
#define TIMER1_COMPB_vect _VECTOR(18)
1375
1393
#define SIG_OUTPUT_COMPARE1B _VECTOR(18)
1377
1395
/* Timer/Counter1 Compare Match C */
1396
#define TIMER1_COMPC_vect_num 19
1378
1397
#define TIMER1_COMPC_vect _VECTOR(19)
1379
1398
#define SIG_OUTPUT_COMPARE1C _VECTOR(19)
1381
1400
/* Timer/Counter1 Overflow */
1401
#define TIMER1_OVF_vect_num 20
1382
1402
#define TIMER1_OVF_vect _VECTOR(20)
1383
1403
#define SIG_OVERFLOW1 _VECTOR(20)
1385
1405
/* Timer/Counter0 Compare Match A */
1406
#define TIMER0_COMPA_vect_num 21
1386
1407
#define TIMER0_COMPA_vect _VECTOR(21)
1387
1408
#define SIG_OUTPUT_COMPARE0A _VECTOR(21)
1389
1410
/* Timer/Counter0 Compare Match B */
1411
#define TIMER0_COMPB_vect_num 22
1390
1412
#define TIMER0_COMPB_vect _VECTOR(22)
1391
1413
#define SIG_OUTPUT_COMPARE0B _VECTOR(22)
1393
1415
/* Timer/Counter0 Overflow */
1416
#define TIMER0_OVF_vect_num 23
1394
1417
#define TIMER0_OVF_vect _VECTOR(23)
1395
1418
#define SIG_OVERFLOW0 _VECTOR(23)
1397
1420
/* SPI Serial Transfer Complete */
1421
#define SPI_STC_vect_num 24
1398
1422
#define SPI_STC_vect _VECTOR(24)
1399
1423
#define SIG_SPI _VECTOR(24)
1401
1425
/* USART0, Rx Complete */
1426
#define USART0_RX_vect_num 25
1402
1427
#define USART0_RX_vect _VECTOR(25)
1403
1428
#define SIG_USART0_RECV _VECTOR(25)
1405
1430
/* USART0 Data register Empty */
1431
#define USART0_UDRE_vect_num 26
1406
1432
#define USART0_UDRE_vect _VECTOR(26)
1407
1433
#define SIG_USART0_DATA _VECTOR(26)
1409
1435
/* USART0, Tx Complete */
1436
#define USART0_TX_vect_num 27
1410
1437
#define USART0_TX_vect _VECTOR(27)
1411
1438
#define SIG_USART0_TRANS _VECTOR(27)
1413
1440
/* Analog Comparator */
1441
#define ANALOG_COMP_vect_num 28
1414
1442
#define ANALOG_COMP_vect _VECTOR(28)
1415
1443
#define SIG_COMPARATOR _VECTOR(28)
1417
1445
/* ADC Conversion Complete */
1446
#define ADC_vect_num 29
1418
1447
#define ADC_vect _VECTOR(29)
1419
1448
#define SIG_ADC _VECTOR(29)
1421
1450
/* EEPROM Ready */
1451
#define EE_READY_vect_num 30
1422
1452
#define EE_READY_vect _VECTOR(30)
1423
1453
#define SIG_EEPROM_READY _VECTOR(30)
1425
1455
/* Timer/Counter3 Capture Event */
1456
#define TIMER3_CAPT_vect_num 31
1426
1457
#define TIMER3_CAPT_vect _VECTOR(31)
1427
1458
#define SIG_INPUT_CAPTURE3 _VECTOR(31)
1429
1460
/* Timer/Counter3 Compare Match A */
1461
#define TIMER3_COMPA_vect_num 32
1430
1462
#define TIMER3_COMPA_vect _VECTOR(32)
1431
1463
#define SIG_OUTPUT_COMPARE3A _VECTOR(32)
1433
1465
/* Timer/Counter3 Compare Match B */
1466
#define TIMER3_COMPB_vect_num 33
1434
1467
#define TIMER3_COMPB_vect _VECTOR(33)
1435
1468
#define SIG_OUTPUT_COMPARE3B _VECTOR(33)
1437
1470
/* Timer/Counter3 Compare Match C */
1471
#define TIMER3_COMPC_vect_num 34
1438
1472
#define TIMER3_COMPC_vect _VECTOR(34)
1439
1473
#define SIG_OUTPUT_COMPARE3C _VECTOR(34)
1441
1475
/* Timer/Counter3 Overflow */
1476
#define TIMER3_OVF_vect_num 35
1442
1477
#define TIMER3_OVF_vect _VECTOR(35)
1443
1478
#define SIG_OVERFLOW3 _VECTOR(35)
1445
1480
/* USART1, Rx Complete */
1481
#define USART1_RX_vect_num 36
1446
1482
#define USART1_RX_vect _VECTOR(36)
1447
1483
#define SIG_USART1_RECV _VECTOR(36)
1449
1485
/* USART1 Data register Empty */
1486
#define USART1_UDRE_vect_num 37
1450
1487
#define USART1_UDRE_vect _VECTOR(37)
1451
1488
#define SIG_USART1_DATA _VECTOR(37)
1453
1490
/* USART1, Tx Complete */
1491
#define USART1_TX_vect_num 38
1454
1492
#define USART1_TX_vect _VECTOR(38)
1455
1493
#define SIG_USART1_TRANS _VECTOR(38)
1457
1495
/* 2-wire Serial Interface */
1496
#define TWI_vect_num 39
1458
1497
#define TWI_vect _VECTOR(39)
1459
1498
#define SIG_2WIRE_SERIAL _VECTOR(39)
1461
1500
/* Store Program Memory Read */
1501
#define SPM_READY_vect_num 40
1462
1502
#define SPM_READY_vect _VECTOR(40)
1463
1503
#define SIG_SPM_READY _VECTOR(40)
1465
1505
#if defined(__ATmegaxx0__)
1466
1506
/* Timer/Counter4 Capture Event */
1507
#define TIMER4_CAPT_vect_num 41
1467
1508
#define TIMER4_CAPT_vect _VECTOR(41)
1468
1509
#define SIG_INPUT_CAPTURE4 _VECTOR(41)
1470
1511
#endif /* __ATmegaxx0__ */
1472
1513
/* Timer/Counter4 Compare Match A */
1514
#define TIMER4_COMPA_vect_num 42
1473
1515
#define TIMER4_COMPA_vect _VECTOR(42)
1474
1516
#define SIG_OUTPUT_COMPARE4A _VECTOR(42)
1476
1518
/* Timer/Counter4 Compare Match B */
1519
#define TIMER4_COMPB_vect_num 43
1477
1520
#define TIMER4_COMPB_vect _VECTOR(43)
1478
1521
#define SIG_OUTPUT_COMPARE4B _VECTOR(43)
1480
1523
/* Timer/Counter4 Compare Match C */
1524
#define TIMER4_COMPC_vect_num 44
1481
1525
#define TIMER4_COMPC_vect _VECTOR(44)
1482
1526
#define SIG_OUTPUT_COMPARE4C _VECTOR(44)
1484
1528
/* Timer/Counter4 Overflow */
1529
#define TIMER4_OVF_vect_num 45
1485
1530
#define TIMER4_OVF_vect _VECTOR(45)
1486
1531
#define SIG_OVERFLOW4 _VECTOR(45)
1488
1533
#if defined(__ATmegaxx0__)
1489
1534
/* Timer/Counter5 Capture Event */
1535
#define TIMER5_CAPT_vect_num 46
1490
1536
#define TIMER5_CAPT_vect _VECTOR(46)
1491
1537
#define SIG_INPUT_CAPTURE5 _VECTOR(46)
1493
1539
#endif /* __ATmegaxx0__ */
1495
1541
/* Timer/Counter5 Compare Match A */
1542
#define TIMER5_COMPA_vect_num 47
1496
1543
#define TIMER5_COMPA_vect _VECTOR(47)
1497
1544
#define SIG_OUTPUT_COMPARE5A _VECTOR(47)
1499
1546
/* Timer/Counter5 Compare Match B */
1547
#define TIMER5_COMPB_vect_num 48
1500
1548
#define TIMER5_COMPB_vect _VECTOR(48)
1501
1549
#define SIG_OUTPUT_COMPARE5B _VECTOR(48)
1503
1551
/* Timer/Counter5 Compare Match C */
1552
#define TIMER5_COMPC_vect_num 49
1504
1553
#define TIMER5_COMPC_vect _VECTOR(49)
1505
1554
#define SIG_OUTPUT_COMPARE5C _VECTOR(49)
1507
1556
/* Timer/Counter5 Overflow */
1557
#define TIMER5_OVF_vect_num 50
1508
1558
#define TIMER5_OVF_vect _VECTOR(50)
1509
1559
#define SIG_OVERFLOW5 _VECTOR(50)
1550
1606
# undef __ATmegaxx1__
1610
/* Deprecated items */
1611
#if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
1613
#pragma GCC system_header
1615
#pragma GCC poison SIG_INTERRUPT0
1616
#pragma GCC poison SIG_INTERRUPT1
1617
#pragma GCC poison SIG_INTERRUPT2
1618
#pragma GCC poison SIG_INTERRUPT3
1619
#pragma GCC poison SIG_INTERRUPT4
1620
#pragma GCC poison SIG_INTERRUPT5
1621
#pragma GCC poison SIG_INTERRUPT6
1622
#pragma GCC poison SIG_INTERRUPT7
1623
#pragma GCC poison SIG_PIN_CHANGE0
1624
#pragma GCC poison SIG_PIN_CHANGE1
1625
#pragma GCC poison SIG_PIN_CHANGE2
1626
#pragma GCC poison SIG_WATCHDOG_TIMEOUT
1627
#pragma GCC poison SIG_OUTPUT_COMPARE2A
1628
#pragma GCC poison SIG_OUTPUT_COMPARE2B
1629
#pragma GCC poison SIG_OVERFLOW2
1630
#pragma GCC poison SIG_INPUT_CAPTURE1
1631
#pragma GCC poison SIG_OUTPUT_COMPARE1A
1632
#pragma GCC poison SIG_OUTPUT_COMPARE1B
1633
#pragma GCC poison SIG_OUTPUT_COMPARE1C
1634
#pragma GCC poison SIG_OVERFLOW1
1635
#pragma GCC poison SIG_OUTPUT_COMPARE0A
1636
#pragma GCC poison SIG_OUTPUT_COMPARE0B
1637
#pragma GCC poison SIG_OVERFLOW0
1638
#pragma GCC poison SIG_SPI
1639
#pragma GCC poison SIG_USART0_RECV
1640
#pragma GCC poison SIG_USART0_DATA
1641
#pragma GCC poison SIG_USART0_TRANS
1642
#pragma GCC poison SIG_COMPARATOR
1643
#pragma GCC poison SIG_ADC
1644
#pragma GCC poison SIG_EEPROM_READY
1645
#pragma GCC poison SIG_INPUT_CAPTURE3
1646
#pragma GCC poison SIG_OUTPUT_COMPARE3A
1647
#pragma GCC poison SIG_OUTPUT_COMPARE3B
1648
#pragma GCC poison SIG_OUTPUT_COMPARE3C
1649
#pragma GCC poison SIG_OVERFLOW3
1650
#pragma GCC poison SIG_USART1_RECV
1651
#pragma GCC poison SIG_USART1_DATA
1652
#pragma GCC poison SIG_USART1_TRANS
1653
#pragma GCC poison SIG_2WIRE_SERIAL
1654
#pragma GCC poison SIG_SPM_READY
1655
#pragma GCC poison SIG_INPUT_CAPTURE4
1656
#pragma GCC poison SIG_OUTPUT_COMPARE4A
1657
#pragma GCC poison SIG_OUTPUT_COMPARE4B
1658
#pragma GCC poison SIG_OUTPUT_COMPARE4C
1659
#pragma GCC poison SIG_OVERFLOW4
1660
#pragma GCC poison SIG_INPUT_CAPTURE5
1661
#pragma GCC poison SIG_OUTPUT_COMPARE5A
1662
#pragma GCC poison SIG_OUTPUT_COMPARE5B
1663
#pragma GCC poison SIG_OUTPUT_COMPARE5C
1664
#pragma GCC poison SIG_OVERFLOW5
1665
#pragma GCC poison SIG_USART2_RECV
1666
#pragma GCC poison SIG_USART2_DATA
1667
#pragma GCC poison SIG_USART2_TRANS
1668
#pragma GCC poison SIG_USART3_RECV
1669
#pragma GCC poison SIG_USART3_DATA
1670
#pragma GCC poison SIG_USART3_TRANS
1672
#endif /* !defined(__AVR_LIBC_DEPRECATED_ENABLE__) */
1553
1675
#endif /* _AVR_IOMXX0_1_H_ */