496
499
/* Interrupt vectors: */
498
#define SIG_INT0 _VECTOR(1) /* External Interrupt Request 0 */
499
#define SIG_INT1 _VECTOR(2) /* External Interrupt Request 1 */
500
#define SIG_TIMER1_CAPT _VECTOR(3) /* TIMER1 CAPT Timer/Counter1 Capture
502
#define SIG_TIMER1_COMPA _VECTOR(4) /* TIMER1 COMPA Timer/Counter1 Compare
504
#define SIG_TIMER1_OVF _VECTOR(5) /* TIMER1 OVF Timer/Counter1 Overflow */
505
#define SIG_TIMER0_OVF _VECTOR(6) /* TIMER0 OVF Timer/Counter0 Overflow */
506
#define SIG_USART0_RX _VECTOR(7) /* USART0 RX USART0, Rx Complete */
507
#define SIG_USART0_UDRE _VECTOR(8) /* USART0 UDRE USART0 Data Register
509
#define SIG_USART0_TX _VECTOR(9) /* USART0 TX USART0, Tx Complete */
510
#define SIG_ANALOG_COMP _VECTOR(10) /* ANALOG COMP Analog Comparator */
511
#define SIG_PCINT _VECTOR(11) /* Pin Change Interrupt on PORTB */
512
#define SIG_TIMER1_COMPB _VECTOR(12) /* Timer/Counter1 Compare Match B */
513
#define SIG_TIMER0_COMPA _VECTOR(13) /* Timer/Counter0 Compare Match A */
514
#define SIG_TIMER0_COMPB _VECTOR(14) /* Timer/Counter0 Compare Match B */
515
#define SIG_USI_START _VECTOR(15) /* USI Start Condition */
516
#define SIG_USI_OVERFLOW _VECTOR(16) /* USI Overflow */
517
#define SIG_EE_READY _VECTOR(17) /* EEPROM Ready */
518
#define SIG_WDT_OVERFLOW _VECTOR(18) /* Watchdog Timer Overflow */
501
/* External Interrupt Request 0 */
502
#define INT0_vect _VECTOR(1)
503
#define SIG_INTERRUPT0 _VECTOR(1)
504
#define SIG_INT0 _VECTOR(1)
506
/* External Interrupt Request 1 */
507
#define INT1_vect _VECTOR(2)
508
#define SIG_INTERRUPT1 _VECTOR(2)
509
#define SIG_INT1 _VECTOR(2)
511
/* Timer/Counter1 Capture Event */
512
#define TIMER1_CAPT_vect _VECTOR(3)
513
#define SIG_INPUT_CAPTURE1 _VECTOR(3)
514
#define SIG_TIMER1_CAPT _VECTOR(3)
516
/* Timer/Counter1 Compare Match A */
517
#define TIMER1_COMPA_vect _VECTOR(4)
518
#define SIG_OUTPUT_COMPARE1A _VECTOR(4)
519
#define SIG_TIMER1_COMPA _VECTOR(4)
521
/* Timer/Counter1 Overflow */
522
#define TIMER1_OVF_vect _VECTOR(5)
523
#define SIG_OVERFLOW1 _VECTOR(5)
524
#define SIG_TIMER1_OVF _VECTOR(5)
526
/* Timer/Counter0 Overflow */
527
#define TIMER0_OVF_vect _VECTOR(6)
528
#define SIG_OVERFLOW0 _VECTOR(6)
529
#define SIG_TIMER0_OVF _VECTOR(6)
531
/* USART, Rx Complete */
532
#define USART_RX_vect _VECTOR(7)
533
#define SIG_USART0_RECV _VECTOR(7)
534
#define SIG_USART0_RX _VECTOR(7)
536
/* USART Data Register Empty */
537
#define USART_UDRE_vect _VECTOR(8)
538
#define SIG_USART0_DATA _VECTOR(8)
539
#define SIG_USART0_UDRE _VECTOR(8)
541
/* USART, Tx Complete */
542
#define USART_TX_vect _VECTOR(9)
543
#define SIG_USART0_TRANS _VECTOR(9)
544
#define SIG_USART0_TX _VECTOR(9)
546
/* Analog Comparator */
547
#define ANA_COMP_vect _VECTOR(10)
548
#define SIG_COMPARATOR _VECTOR(10)
549
#define SIG_ANALOG_COMP _VECTOR(10)
550
#define PCINT_vect _VECTOR(11)
551
#define SIG_PIN_CHANGE _VECTOR(11)
552
#define SIG_PCINT _VECTOR(11)
553
#define TIMER1_COMPB_vect _VECTOR(12)
554
#define SIG_OUTPUT_COMPARE1B _VECTOR(12)
555
#define SIG_TIMER1_COMPB _VECTOR(12)
556
#define TIMER0_COMPA_vect _VECTOR(13)
557
#define SIG_OUTPUT_COMPARE0A _VECTOR(13)
558
#define SIG_TIMER0_COMPA _VECTOR(13)
559
#define TIMER0_COMPB_vect _VECTOR(14)
560
#define SIG_OUTPUT_COMPARE0B _VECTOR(14)
561
#define SIG_TIMER0_COMPB _VECTOR(14)
563
/* USI Start Condition */
564
#define USI_START_vect _VECTOR(15)
565
#define SIG_USI_START _VECTOR(15)
566
#define SIG_USI_START _VECTOR(15)
569
#define USI_OVERFLOW_vect _VECTOR(16)
570
#define SIG_USI_OVERFLOW _VECTOR(16)
571
#define SIG_USI_OVERFLOW _VECTOR(16)
572
#define EEPROM_READY_vect _VECTOR(17)
573
#define SIG_EEPROM_READY _VECTOR(17)
574
#define SIG_EE_READY _VECTOR(17)
576
/* Watchdog Timer Overflow */
577
#define WDT_OVERFLOW_vect _VECTOR(18)
578
#define SIG_WATCHDOG_TIMEOUT _VECTOR(18)
579
#define SIG_WDT_OVERFLOW _VECTOR(18)
520
581
/* 38 = (18*2)+2: Number of vectors times two, plus the reset vector */
521
582
#define _VECTORS_SIZE 38