171
171
/* Interrupt vectors */
173
173
/* External Interrupt Request 0 */
174
#define INT0_vect_num 1
174
175
#define INT0_vect _VECTOR(1)
175
176
#define SIG_INTERRUPT0 _VECTOR(1)
177
178
/* External Interrupt Request 1 */
179
#define INT1_vect_num 2
178
180
#define INT1_vect _VECTOR(2)
179
181
#define SIG_INTERRUPT1 _VECTOR(2)
181
183
/* External Interrupt Request 2 */
184
#define INT2_vect_num 3
182
185
#define INT2_vect _VECTOR(3)
183
186
#define SIG_INTERRUPT2 _VECTOR(3)
185
188
/* Timer/Counter2 Compare Match */
189
#define TIMER2_COMP_vect_num 4
186
190
#define TIMER2_COMP_vect _VECTOR(4)
187
191
#define SIG_OUTPUT_COMPARE2 _VECTOR(4)
189
193
/* Timer/Counter2 Overflow */
194
#define TIMER2_OVF_vect_num 5
190
195
#define TIMER2_OVF_vect _VECTOR(5)
191
196
#define SIG_OVERFLOW2 _VECTOR(5)
193
198
/* Timer/Counter1 Capture Event */
199
#define TIMER1_CAPT_vect_num 6
194
200
#define TIMER1_CAPT_vect _VECTOR(6)
195
201
#define SIG_INPUT_CAPTURE1 _VECTOR(6)
197
203
/* Timer/Counter1 Compare Match A */
204
#define TIMER1_COMPA_vect_num 7
198
205
#define TIMER1_COMPA_vect _VECTOR(7)
199
206
#define SIG_OUTPUT_COMPARE1A _VECTOR(7)
201
208
/* Timer/Counter1 Compare Match B */
209
#define TIMER1_COMPB_vect_num 8
202
210
#define TIMER1_COMPB_vect _VECTOR(8)
203
211
#define SIG_OUTPUT_COMPARE1B _VECTOR(8)
205
213
/* Timer/Counter1 Overflow */
214
#define TIMER1_OVF_vect_num 9
206
215
#define TIMER1_OVF_vect _VECTOR(9)
207
216
#define SIG_OVERFLOW1 _VECTOR(9)
209
218
/* Timer/Counter0 Compare Match */
219
#define TIMER0_COMP_vect_num 10
210
220
#define TIMER0_COMP_vect _VECTOR(10)
211
221
#define SIG_OUTPUT_COMPARE0 _VECTOR(10)
213
223
/* Timer/Counter0 Overflow */
224
#define TIMER0_OVF_vect_num 11
214
225
#define TIMER0_OVF_vect _VECTOR(11)
215
226
#define SIG_OVERFLOW0 _VECTOR(11)
217
228
/* Serial Transfer Complete */
229
#define SPI_STC_vect_num 12
218
230
#define SPI_STC_vect _VECTOR(12)
219
231
#define SIG_SPI _VECTOR(12)
221
233
/* USART, Rx Complete */
234
#define USART_RXC_vect_num 13
222
235
#define USART_RXC_vect _VECTOR(13)
223
236
#define SIG_USART_RECV _VECTOR(13)
224
237
#define SIG_UART_RECV _VECTOR(13)
226
239
/* USART Data Register Empty */
240
#define USART_UDRE_vect_num 14
227
241
#define USART_UDRE_vect _VECTOR(14)
228
242
#define SIG_USART_DATA _VECTOR(14)
229
243
#define SIG_UART_DATA _VECTOR(14)
231
245
/* USART, Tx Complete */
246
#define USART_TXC_vect_num 15
232
247
#define USART_TXC_vect _VECTOR(15)
233
248
#define SIG_USART_TRANS _VECTOR(15)
234
249
#define SIG_UART_TRANS _VECTOR(15)
236
251
/* ADC Conversion Complete */
252
#define ADC_vect_num 16
237
253
#define ADC_vect _VECTOR(16)
238
254
#define SIG_ADC _VECTOR(16)
240
256
/* EEPROM Ready */
257
#define EE_RDY_vect_num 17
241
258
#define EE_RDY_vect _VECTOR(17)
242
259
#define SIG_EEPROM_READY _VECTOR(17)
244
261
/* Analog Comparator */
262
#define ANA_COMP_vect_num 18
245
263
#define ANA_COMP_vect _VECTOR(18)
246
264
#define SIG_COMPARATOR _VECTOR(18)
248
266
/* 2-wire Serial Interface */
267
#define TWI_vect_num 19
249
268
#define TWI_vect _VECTOR(19)
250
269
#define SIG_2WIRE_SERIAL _VECTOR(19)
252
271
/* Store Program Memory Ready */
272
#define SPM_RDY_vect_num 20
253
273
#define SPM_RDY_vect _VECTOR(20)
254
274
#define SIG_SPM_READY _VECTOR(20)
694
714
#define SIGNATURE_2 0x02
717
/* Deprecated items */
718
#if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
720
#pragma GCC system_header
722
#pragma GCC poison SIG_INTERRUPT0
723
#pragma GCC poison SIG_INTERRUPT1
724
#pragma GCC poison SIG_INTERRUPT2
725
#pragma GCC poison SIG_OUTPUT_COMPARE2
726
#pragma GCC poison SIG_OVERFLOW2
727
#pragma GCC poison SIG_INPUT_CAPTURE1
728
#pragma GCC poison SIG_OUTPUT_COMPARE1A
729
#pragma GCC poison SIG_OUTPUT_COMPARE1B
730
#pragma GCC poison SIG_OVERFLOW1
731
#pragma GCC poison SIG_OUTPUT_COMPARE0
732
#pragma GCC poison SIG_OVERFLOW0
733
#pragma GCC poison SIG_SPI
734
#pragma GCC poison SIG_USART_RECV
735
#pragma GCC poison SIG_UART_RECV
736
#pragma GCC poison SIG_USART_DATA
737
#pragma GCC poison SIG_UART_DATA
738
#pragma GCC poison SIG_USART_TRANS
739
#pragma GCC poison SIG_UART_TRANS
740
#pragma GCC poison SIG_ADC
741
#pragma GCC poison SIG_EEPROM_READY
742
#pragma GCC poison SIG_COMPARATOR
743
#pragma GCC poison SIG_2WIRE_SERIAL
744
#pragma GCC poison SIG_SPM_READY
746
#endif /* !defined(__AVR_LIBC_DEPRECATED_ENABLE__) */
697
749
#endif /* _AVR_IOM32_H_ */