439
441
/* Interrupt vectors */
440
442
/* Interrupt vector 0 is the reset vector. */
441
443
/* External Interrupt 0 */
442
#define INT0_vect _VECTOR(1)
444
#define INT0_vect_num 1
445
#define INT0_vect _VECTOR(1)
443
446
#define SIG_INTERRUPT0 _VECTOR(1)
445
448
/* Pin Change Interrupt */
446
#define PCINT_vect _VECTOR(2)
449
#define PCINT_vect_num 2
450
#define PCINT_vect _VECTOR(2)
447
451
#define SIG_PIN_CHANGE _VECTOR(2)
449
453
/* Timer/Counter1 Compare Match 1A */
454
#define TIMER1_COMPA_vect_num 3
450
455
#define TIMER1_COMPA_vect _VECTOR(3)
451
#define SIG_OUTPUT_COMPARE1A _VECTOR(3)
456
#define SIG_OUTPUT_COMPARE1A _VECTOR(3)
453
458
/* Timer/Counter1 Compare Match 1B */
454
#define TIMER1_COMPB_vect _VECTOR(4)
455
#define SIG_OUTPUT_COMPARE1B _VECTOR(4)
459
#define TIMER1_COMPB_vect_num 4
460
#define TIMER1_COMPB_vect _VECTOR(4)
461
#define SIG_OUTPUT_COMPARE1B _VECTOR(4)
457
463
/* Timer/Counter1 Overflow */
464
#define TIMER1_OVF_vect_num 5
458
465
#define TIMER1_OVF_vect _VECTOR(5)
459
466
#define SIG_OVERFLOW1 _VECTOR(5)
461
468
/* Timer/Counter0 Overflow */
469
#define TIMER0_OVF_vect_num 6
462
470
#define TIMER0_OVF_vect _VECTOR(6)
463
471
#define SIG_OVERFLOW0 _VECTOR(6)
474
#define USI_START_vect_num 7
466
475
#define USI_START_vect _VECTOR(7)
467
476
#define SIG_USI_START _VECTOR(7)
469
478
/* USI Overflow */
479
#define USI_OVF_vect_num 8
470
480
#define USI_OVF_vect _VECTOR(8)
471
481
#define SIG_USI_OVERFLOW _VECTOR(8)
473
483
/* EEPROM Ready */
474
#define EE_RDY_vect _VECTOR(9)
484
#define EE_RDY_vect_num 9
485
#define EE_RDY_vect _VECTOR(9)
475
486
#define SIG_EEPROM_READY _VECTOR(9)
477
488
/* Analog Comparator */
489
#define ANA_COMP_vect_num 10
478
490
#define ANA_COMP_vect _VECTOR(10)
479
491
#define SIG_ANA_COMP _VECTOR(10)
480
492
#define SIG_COMPARATOR _VECTOR(10)
482
494
/* ADC Conversion Complete */
483
#define ADC_vect _VECTOR(11)
484
#define SIG_ADC _VECTOR(11)
495
#define ADC_vect_num 11
496
#define ADC_vect _VECTOR(11)
497
#define SIG_ADC _VECTOR(11)
486
499
/* Watchdog Time-Out */
487
#define WDT_vect _VECTOR(12)
488
#define SIG_WDT _VECTOR(12)
500
#define WDT_vect_num 12
501
#define WDT_vect _VECTOR(12)
502
#define SIG_WDT _VECTOR(12)
490
504
/* External Interrupt 1 */
491
#define INT1_vect _VECTOR(13)
505
#define INT1_vect_num 13
506
#define INT1_vect _VECTOR(13)
492
507
#define SIG_INTERRUPT1 _VECTOR(13)
494
509
/* Timer/Counter0 Compare Match A */
495
#define TIMER0_COMPA_vect _VECTOR(14)
510
#define TIMER0_COMPA_vect_num 14
511
#define TIMER0_COMPA_vect _VECTOR(14)
496
512
#define SIG_OUTPUT_COMPARE0A _VECTOR(14)
498
514
/* Timer/Counter0 Compare Match B */
499
#define TIMER0_COMPB_vect _VECTOR(15)
515
#define TIMER0_COMPB_vect_num 15
516
#define TIMER0_COMPB_vect _VECTOR(15)
500
517
#define SIG_OUTPUT_COMPARE0B _VECTOR(15)
502
519
/* ADC Conversion Complete */
503
#define TIMER0_CAPT_vect _VECTOR(16)
504
#define SIG_INPUT_CAPTURE0 _VECTOR(16)
520
#define TIMER0_CAPT_vect_num 16
521
#define TIMER0_CAPT_vect _VECTOR(16)
522
#define SIG_INPUT_CAPTURE0 _VECTOR(16)
506
524
/* Timer/Counter1 Compare Match D */
507
#define TIMER1_COMPD_vect _VECTOR(17)
525
#define TIMER1_COMPD_vect_num 17
526
#define TIMER1_COMPD_vect _VECTOR(17)
508
527
#define SIG_OUTPUT_COMPARE0D _VECTOR(17)
510
529
/* Timer/Counter1 Fault Protection */
530
#define FAULT_PROTECTION_vect_num 18
511
531
#define FAULT_PROTECTION_vect _VECTOR(18)
513
533
#define _VECTORS_SIZE 38