95
98
#define DDRA _SFR_IO8(0x1A)
96
99
#define PORTA _SFR_IO8(0x1B)
98
/* 0x1C..0x1F EEPROM */
101
/* EEPROM Control Register */
102
#define EECR _SFR_IO8(0x1C)
104
/* EEPROM Data Register */
105
#define EEDR _SFR_IO8(0x1D)
107
/* EEPROM Address Register */
108
#define EEAR _SFR_IO16(0x1E)
109
#define EEARL _SFR_IO8(0x1E)
110
#define EEARH _SFR_IO8(0x1F)
100
112
#define UBRRHI _SFR_IO8(0x20)
154
166
/* Interrupt vectors */
156
#define SIG_INTERRUPT0 _VECTOR(1)
157
#define SIG_INTERRUPT1 _VECTOR(2)
158
#define SIG_OUTPUT_COMPARE2 _VECTOR(3)
159
#define SIG_OVERFLOW2 _VECTOR(4)
160
#define SIG_INPUT_CAPTURE1 _VECTOR(5)
161
#define SIG_OUTPUT_COMPARE1A _VECTOR(6)
162
#define SIG_OUTPUT_COMPARE1B _VECTOR(7)
163
#define SIG_OVERFLOW1 _VECTOR(8)
164
#define SIG_OVERFLOW0 _VECTOR(9)
165
#define SIG_SPI _VECTOR(10)
166
#define SIG_UART_RECV _VECTOR(11)
167
#define SIG_UART_DATA _VECTOR(12)
168
#define SIG_UART_TRANS _VECTOR(13)
169
#define SIG_ADC _VECTOR(14)
170
#define SIG_EEPROM_READY _VECTOR(15)
171
#define SIG_COMPARATOR _VECTOR(16)
172
#define SIG_2WIRE_SERIAL _VECTOR(17)
168
/* External Interrupt 0 */
169
#define INT0_vect _VECTOR(1)
170
#define SIG_INTERRUPT0 _VECTOR(1)
172
/* External Interrupt 1 */
173
#define INT1_vect _VECTOR(2)
174
#define SIG_INTERRUPT1 _VECTOR(2)
176
/* Timer/Counter2 Compare Match */
177
#define TIMER2_COMP_vect _VECTOR(3)
178
#define SIG_OUTPUT_COMPARE2 _VECTOR(3)
180
/* Timer/Counter2 Overflow */
181
#define TIMER2_OVF_vect _VECTOR(4)
182
#define SIG_OVERFLOW2 _VECTOR(4)
184
/* Timer/Counter1 Capture Event */
185
#define TIMER1_CAPT_vect _VECTOR(5)
186
#define SIG_INPUT_CAPTURE1 _VECTOR(5)
188
/* Timer/Counter1 Compare Match A */
189
#define TIMER1_COMPA_vect _VECTOR(6)
190
#define SIG_OUTPUT_COMPARE1A _VECTOR(6)
192
/* Timer/Counter1 Compare Match B */
193
#define TIMER1_COMPB_vect _VECTOR(7)
194
#define SIG_OUTPUT_COMPARE1B _VECTOR(7)
196
/* Timer/Counter1 Overflow */
197
#define TIMER1_OVF_vect _VECTOR(8)
198
#define SIG_OVERFLOW1 _VECTOR(8)
200
/* Timer/Counter0 Overflow */
201
#define TIMER0_OVF_vect _VECTOR(9)
202
#define SIG_OVERFLOW0 _VECTOR(9)
204
/* SPI Serial Transfer Complete */
205
#define SPI_STC_vect _VECTOR(10)
206
#define SIG_SPI _VECTOR(10)
208
/* UART, RX Complete */
209
#define UART_RX_vect _VECTOR(11)
210
#define SIG_UART_RECV _VECTOR(11)
212
/* UART Data Register Empty */
213
#define UART_UDRE_vect _VECTOR(12)
214
#define SIG_UART_DATA _VECTOR(12)
216
/* UART, TX Complete */
217
#define UART_TX_vect _VECTOR(13)
218
#define SIG_UART_TRANS _VECTOR(13)
220
/* ADC Conversion Complete */
221
#define ADC_vect _VECTOR(14)
222
#define SIG_ADC _VECTOR(14)
225
#define EE_RDY_vect _VECTOR(15)
226
#define SIG_EEPROM_READY _VECTOR(15)
228
/* Analog Comparator */
229
#define ANA_COMP_vect _VECTOR(16)
230
#define SIG_COMPARATOR _VECTOR(16)
232
/* 2-Wire Serial Interface */
233
#define TWI_vect _VECTOR(17)
234
#define SIG_2WIRE_SERIAL _VECTOR(17)
174
236
#define _VECTORS_SIZE 72