676
676
/* Interrupt vectors */
677
677
/* Vector 0 is the reset vector */
678
679
/* External Interrupt Request 0 */
680
#define INT0_vect_num 1
679
681
#define INT0_vect _VECTOR(1)
680
682
#define SIG_INTERRUPT0 _VECTOR(1)
682
684
/* Pin Change Interrupt Request 0 */
685
#define PCINT0_vect_num 2
683
686
#define PCINT0_vect _VECTOR(2)
684
687
#define SIG_PIN_CHANGE0 _VECTOR(2)
686
689
/* Pin Change Interrupt Request 1 */
690
#define PCINT1_vect_num 3
687
691
#define PCINT1_vect _VECTOR(3)
688
692
#define SIG_PIN_CHANGE1 _VECTOR(3)
690
694
/* Timer/Counter2 Compare Match */
695
#define TIMER2_COMP_vect_num 4
691
696
#define TIMER2_COMP_vect _VECTOR(4)
692
697
#define SIG_OUTPUT_COMPARE2 _VECTOR(4)
694
699
/* Timer/Counter2 Overflow */
700
#define TIMER2_OVF_vect_num 5
695
701
#define TIMER2_OVF_vect _VECTOR(5)
696
702
#define SIG_OVERFLOW2 _VECTOR(5)
698
704
/* Timer/Counter1 Capture Event */
705
#define TIMER1_CAPT_vect_num 6
699
706
#define TIMER1_CAPT_vect _VECTOR(6)
700
707
#define SIG_INPUT_CAPTURE1 _VECTOR(6)
702
709
/* Timer/Counter1 Compare Match A */
710
#define TIMER1_COMPA_vect_num 7
703
711
#define TIMER1_COMPA_vect _VECTOR(7)
704
712
#define SIG_OUTPUT_COMPARE1A _VECTOR(7)
706
714
/* Timer/Counter Compare Match B */
715
#define TIMER1_COMPB_vect_num 8
707
716
#define TIMER1_COMPB_vect _VECTOR(8)
708
717
#define SIG_OUTPUT_COMPARE1B _VECTOR(8)
710
719
/* Timer/Counter1 Overflow */
720
#define TIMER1_OVF_vect_num 9
711
721
#define TIMER1_OVF_vect _VECTOR(9)
712
722
#define SIG_OVERFLOW1 _VECTOR(9)
714
724
/* Timer/Counter0 Compare Match */
725
#define TIMER0_COMP_vect_num 10
715
726
#define TIMER0_COMP_vect _VECTOR(10)
716
727
#define SIG_OUTPUT_COMPARE0 _VECTOR(10)
718
729
/* Timer/Counter0 Overflow */
730
#define TIMER0_OVF_vect_num 11
719
731
#define TIMER0_OVF_vect _VECTOR(11)
720
732
#define SIG_OVERFLOW0 _VECTOR(11)
722
734
/* SPI Serial Transfer Complete */
735
#define SPI_STC_vect_num 12
723
736
#define SPI_STC_vect _VECTOR(12)
724
737
#define SIG_SPI _VECTOR(12)
726
739
/* USART0, Rx Complete */
740
#define USART0_RX_vect_num 13
727
741
#define USART0_RX_vect _VECTOR(13)
728
742
#define USART_RX_vect _VECTOR(13) /* Alias */
729
743
#define SIG_UART_RECV _VECTOR(13)
731
745
/* USART0 Data register Empty */
746
#define USART0_UDRE_vect_num 14
732
747
#define USART0_UDRE_vect _VECTOR(14)
733
748
#define USART_UDRE_vect _VECTOR(14) /* Alias */
734
749
#define SIG_UART_DATA _VECTOR(14)
736
751
/* USART0, Tx Complete */
752
#define USART0_TX_vect_num 15
737
753
#define USART0_TX_vect _VECTOR(15)
738
754
#define USART_TX_vect _VECTOR(15) /* Alias */
739
755
#define SIG_UART_TRANS _VECTOR(15)
741
757
/* USI Start Condition */
758
#define USI_START_vect_num 16
742
759
#define USI_START_vect _VECTOR(16)
743
760
#define SIG_USI_START _VECTOR(16)
745
762
/* USI Overflow */
763
#define USI_OVERFLOW_vect_num 17
746
764
#define USI_OVERFLOW_vect _VECTOR(17)
747
765
#define SIG_USI_OVERFLOW _VECTOR(17)
749
767
/* Analog Comparator */
768
#define ANALOG_COMP_vect_num 18
750
769
#define ANALOG_COMP_vect _VECTOR(18)
751
770
#define SIG_COMPARATOR _VECTOR(18)
753
772
/* ADC Conversion Complete */
773
#define ADC_vect_num 19
754
774
#define ADC_vect _VECTOR(19)
755
775
#define SIG_ADC _VECTOR(19)
757
777
/* EEPROM Ready */
778
#define EE_READY_vect_num 20
758
779
#define EE_READY_vect _VECTOR(20)
759
780
#define SIG_EEPROM_READY _VECTOR(20)
761
782
/* Store Program Memory Read */
783
#define SPM_READY_vect_num 21
762
784
#define SPM_READY_vect _VECTOR(21)
763
785
#define SIG_SPM_READY _VECTOR(21)
819
841
#define SIGNATURE_2 0x07
844
/* Deprecated items */
845
#if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
847
#pragma GCC system_header
849
#pragma GCC poison SIG_INTERRUPT0
850
#pragma GCC poison SIG_PIN_CHANGE0
851
#pragma GCC poison SIG_PIN_CHANGE1
852
#pragma GCC poison SIG_OUTPUT_COMPARE2
853
#pragma GCC poison SIG_OVERFLOW2
854
#pragma GCC poison SIG_INPUT_CAPTURE1
855
#pragma GCC poison SIG_OUTPUT_COMPARE1A
856
#pragma GCC poison SIG_OUTPUT_COMPARE1B
857
#pragma GCC poison SIG_OVERFLOW1
858
#pragma GCC poison SIG_OUTPUT_COMPARE0
859
#pragma GCC poison SIG_OVERFLOW0
860
#pragma GCC poison SIG_SPI
861
#pragma GCC poison USART_RX_vect
862
#pragma GCC poison SIG_UART_RECV
863
#pragma GCC poison USART_UDRE_vect
864
#pragma GCC poison SIG_UART_DATA
865
#pragma GCC poison USART_TX_vect
866
#pragma GCC poison SIG_UART_TRANS
867
#pragma GCC poison SIG_USI_START
868
#pragma GCC poison SIG_USI_OVERFLOW
869
#pragma GCC poison SIG_COMPARATOR
870
#pragma GCC poison SIG_ADC
871
#pragma GCC poison SIG_EEPROM_READY
872
#pragma GCC poison SIG_SPM_READY
874
#endif /* !defined(__AVR_LIBC_DEPRECATED_ENABLE__) */
822
877
#endif /* _AVR_IOM165P_H_ */