2 * Copyright Droids Corporation, Microb Technology, Eirbot (2009)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 /* WARNING : this file is automatically generated by scripts.
23 * You should not edit it. If you find something wrong in it,
24 * write to zer0@droids-corp.org */
27 /* prescalers timer 0 */
28 #define TIMER0_PRESCALER_DIV_0 0
29 #define TIMER0_PRESCALER_DIV_1 1
30 #define TIMER0_PRESCALER_DIV_8 2
31 #define TIMER0_PRESCALER_DIV_64 3
32 #define TIMER0_PRESCALER_DIV_256 4
33 #define TIMER0_PRESCALER_DIV_1024 5
34 #define TIMER0_PRESCALER_DIV_FALL 6
35 #define TIMER0_PRESCALER_DIV_RISE 7
37 #define TIMER0_PRESCALER_REG_0 0
38 #define TIMER0_PRESCALER_REG_1 1
39 #define TIMER0_PRESCALER_REG_2 8
40 #define TIMER0_PRESCALER_REG_3 64
41 #define TIMER0_PRESCALER_REG_4 256
42 #define TIMER0_PRESCALER_REG_5 1024
43 #define TIMER0_PRESCALER_REG_6 -1
44 #define TIMER0_PRESCALER_REG_7 -2
46 /* prescalers timer 1 */
47 #define TIMER1_PRESCALER_DIV_0 0
48 #define TIMER1_PRESCALER_DIV_1 1
49 #define TIMER1_PRESCALER_DIV_8 2
50 #define TIMER1_PRESCALER_DIV_64 3
51 #define TIMER1_PRESCALER_DIV_256 4
52 #define TIMER1_PRESCALER_DIV_1024 5
53 #define TIMER1_PRESCALER_DIV_FALL 6
54 #define TIMER1_PRESCALER_DIV_RISE 7
56 #define TIMER1_PRESCALER_REG_0 0
57 #define TIMER1_PRESCALER_REG_1 1
58 #define TIMER1_PRESCALER_REG_2 8
59 #define TIMER1_PRESCALER_REG_3 64
60 #define TIMER1_PRESCALER_REG_4 256
61 #define TIMER1_PRESCALER_REG_5 1024
62 #define TIMER1_PRESCALER_REG_6 -1
63 #define TIMER1_PRESCALER_REG_7 -2
66 /* available timers */
67 #define TIMER0_AVAILABLE
68 #define TIMER0A_AVAILABLE
69 #define TIMER0B_AVAILABLE
70 #define TIMER1_AVAILABLE
71 #define TIMER1A_AVAILABLE
72 #define TIMER1B_AVAILABLE
74 /* overflow interrupt number */
75 #define SIG_OVERFLOW0_NUM 0
76 #define SIG_OVERFLOW1_NUM 1
77 #define SIG_OVERFLOW_TOTAL_NUM 2
79 /* output compare interrupt number */
80 #define SIG_OUTPUT_COMPARE0A_NUM 0
81 #define SIG_OUTPUT_COMPARE0B_NUM 1
82 #define SIG_OUTPUT_COMPARE1A_NUM 2
83 #define SIG_OUTPUT_COMPARE1B_NUM 3
84 #define SIG_OUTPUT_COMPARE_TOTAL_NUM 4
91 #define PWM_TOTAL_NUM 4
93 /* input capture interrupt number */
94 #define SIG_INPUT_CAPTURE1_NUM 0
95 #define SIG_INPUT_CAPTURE_TOTAL_NUM 1
99 #define CLKPS0_REG CLKPR
100 #define CLKPS1_REG CLKPR
101 #define CLKPS2_REG CLKPR
102 #define CLKPS3_REG CLKPR
103 #define CLKPCE_REG CLKPR
109 #define PCIF0_REG PCIFR
110 #define PCIF1_REG PCIFR
111 #define PCIF2_REG PCIFR
112 #define PCIF3_REG PCIFR
115 #define MUX0_REG ADMUX
116 #define MUX1_REG ADMUX
117 #define MUX2_REG ADMUX
118 #define MUX3_REG ADMUX
119 #define ADLAR_REG ADMUX
120 #define REFS0_REG ADMUX
121 #define REFS1_REG ADMUX
124 #define PUDA_REG PORTCR
125 #define PUDB_REG PORTCR
126 #define PUDC_REG PORTCR
127 #define PUDD_REG PORTCR
128 #define BBMA_REG PORTCR
129 #define BBMB_REG PORTCR
130 #define BBMC_REG PORTCR
131 #define BBMD_REG PORTCR
144 #define DDB0_REG DDRB
145 #define DDB1_REG DDRB
146 #define DDB2_REG DDRB
147 #define DDB3_REG DDRB
148 #define DDB4_REG DDRB
149 #define DDB5_REG DDRB
150 #define DDB6_REG DDRB
151 #define DDB7_REG DDRB
154 #define WDP0_REG WDTCSR
155 #define WDP1_REG WDTCSR
156 #define WDP2_REG WDTCSR
157 #define WDE_REG WDTCSR
158 #define WDCE_REG WDTCSR
159 #define WDP3_REG WDTCSR
160 #define WDIE_REG WDTCSR
161 #define WDIF_REG WDTCSR
164 #define EEDR0_REG EEDR
165 #define EEDR1_REG EEDR
166 #define EEDR2_REG EEDR
167 #define EEDR3_REG EEDR
168 #define EEDR4_REG EEDR
169 #define EEDR5_REG EEDR
170 #define EEDR6_REG EEDR
171 #define EEDR7_REG EEDR
174 #define TWD0_REG TWDR
175 #define TWD1_REG TWDR
176 #define TWD2_REG TWDR
177 #define TWD3_REG TWDR
178 #define TWD4_REG TWDR
179 #define TWD5_REG TWDR
180 #define TWD6_REG TWDR
181 #define TWD7_REG TWDR
184 #define OCR0B_0_REG OCR0B
185 #define OCR0B_1_REG OCR0B
186 #define OCR0B_2_REG OCR0B
187 #define OCR0B_3_REG OCR0B
188 #define OCR0B_4_REG OCR0B
189 #define OCR0B_5_REG OCR0B
190 #define OCR0B_6_REG OCR0B
191 #define OCR0B_7_REG OCR0B
194 #define WGM10_REG TCCR1A
195 #define WGM11_REG TCCR1A
196 #define COM1B0_REG TCCR1A
197 #define COM1B1_REG TCCR1A
198 #define COM1A0_REG TCCR1A
199 #define COM1A1_REG TCCR1A
202 #define FOC1B_REG TCCR1C
203 #define FOC1A_REG TCCR1C
206 #define CS10_REG TCCR1B
207 #define CS11_REG TCCR1B
208 #define CS12_REG TCCR1B
209 #define WGM12_REG TCCR1B
210 #define WGM13_REG TCCR1B
211 #define ICES1_REG TCCR1B
212 #define ICNC1_REG TCCR1B
215 #define OCR1AH0_REG OCR1AH
216 #define OCR1AH1_REG OCR1AH
217 #define OCR1AH2_REG OCR1AH
218 #define OCR1AH3_REG OCR1AH
219 #define OCR1AH4_REG OCR1AH
220 #define OCR1AH5_REG OCR1AH
221 #define OCR1AH6_REG OCR1AH
222 #define OCR1AH7_REG OCR1AH
225 #define PSRSYNC_REG GTCCR
226 #define TSM_REG GTCCR
229 #define DDA0_REG DDRA
230 #define DDA1_REG DDRA
231 #define DDA2_REG DDRA
232 #define DDA3_REG DDRA
235 #define ADPS0_REG ADCSRA
236 #define ADPS1_REG ADCSRA
237 #define ADPS2_REG ADCSRA
238 #define ADIE_REG ADCSRA
239 #define ADIF_REG ADCSRA
240 #define ADATE_REG ADCSRA
241 #define ADSC_REG ADCSRA
242 #define ADEN_REG ADCSRA
245 #define ADTS0_REG ADCSRB
246 #define ADTS1_REG ADCSRB
247 #define ADTS2_REG ADCSRB
248 #define ACME_REG ADCSRB
251 #define SPDR0_REG SPDR
252 #define SPDR1_REG SPDR
253 #define SPDR2_REG SPDR
254 #define SPDR3_REG SPDR
255 #define SPDR4_REG SPDR
256 #define SPDR5_REG SPDR
257 #define SPDR6_REG SPDR
258 #define SPDR7_REG SPDR
261 #define OCR0A_0_REG OCR0A
262 #define OCR0A_1_REG OCR0A
263 #define OCR0A_2_REG OCR0A
264 #define OCR0A_3_REG OCR0A
265 #define OCR0A_4_REG OCR0A
266 #define OCR0A_5_REG OCR0A
267 #define OCR0A_6_REG OCR0A
268 #define OCR0A_7_REG OCR0A
271 #define SPI2X_REG SPSR
272 #define WCOL_REG SPSR
273 #define SPIF_REG SPSR
276 #define ACIS0_REG ACSR
277 #define ACIS1_REG ACSR
278 #define ACIC_REG ACSR
279 #define ACIE_REG ACSR
282 #define ACBG_REG ACSR
286 #define ICR1H0_REG ICR1H
287 #define ICR1H1_REG ICR1H
288 #define ICR1H2_REG ICR1H
289 #define ICR1H3_REG ICR1H
290 #define ICR1H4_REG ICR1H
291 #define ICR1H5_REG ICR1H
292 #define ICR1H6_REG ICR1H
293 #define ICR1H7_REG ICR1H
296 #define OCR1BL0_REG OCR1BL
297 #define OCR1BL1_REG OCR1BL
298 #define OCR1BL2_REG OCR1BL
299 #define OCR1BL3_REG OCR1BL
300 #define OCR1BL4_REG OCR1BL
301 #define OCR1BL5_REG OCR1BL
302 #define OCR1BL6_REG OCR1BL
303 #define OCR1BL7_REG OCR1BL
306 #define ICR1L0_REG ICR1L
307 #define ICR1L1_REG ICR1L
308 #define ICR1L2_REG ICR1L
309 #define ICR1L3_REG ICR1L
310 #define ICR1L4_REG ICR1L
311 #define ICR1L5_REG ICR1L
312 #define ICR1L6_REG ICR1L
313 #define ICR1L7_REG ICR1L
316 #define OCR1BH0_REG OCR1BH
317 #define OCR1BH1_REG OCR1BH
318 #define OCR1BH2_REG OCR1BH
319 #define OCR1BH3_REG OCR1BH
320 #define OCR1BH4_REG OCR1BH
321 #define OCR1BH5_REG OCR1BH
322 #define OCR1BH6_REG OCR1BH
323 #define OCR1BH7_REG OCR1BH
326 #define PRADC_REG PRR
327 #define PRSPI_REG PRR
328 #define PRTIM1_REG PRR
329 #define PRTIM0_REG PRR
330 #define PRTWI_REG PRR
333 #define GPIOR10_REG GPIOR1
334 #define GPIOR11_REG GPIOR1
335 #define GPIOR12_REG GPIOR1
336 #define GPIOR13_REG GPIOR1
337 #define GPIOR14_REG GPIOR1
338 #define GPIOR15_REG GPIOR1
339 #define GPIOR16_REG GPIOR1
340 #define GPIOR17_REG GPIOR1
353 #define TWBR0_REG TWBR
354 #define TWBR1_REG TWBR
355 #define TWBR2_REG TWBR
356 #define TWBR3_REG TWBR
357 #define TWBR4_REG TWBR
358 #define TWBR5_REG TWBR
359 #define TWBR6_REG TWBR
360 #define TWBR7_REG TWBR
363 #define PORTD0_REG PORTD
364 #define PORTD1_REG PORTD
365 #define PORTD2_REG PORTD
366 #define PORTD3_REG PORTD
367 #define PORTD4_REG PORTD
368 #define PORTD5_REG PORTD
369 #define PORTD6_REG PORTD
370 #define PORTD7_REG PORTD
373 #define PORF_REG MCUSR
374 #define EXTRF_REG MCUSR
375 #define BORF_REG MCUSR
376 #define WDRF_REG MCUSR
379 #define INT0_REG EIMSK
380 #define INT1_REG EIMSK
383 #define EERE_REG EECR
384 #define EEPE_REG EECR
385 #define EEMPE_REG EECR
386 #define EERIE_REG EECR
387 #define EEPM0_REG EECR
388 #define EEPM1_REG EECR
391 #define SELFPRGEN_REG SPMCSR
392 #define PGERS_REG SPMCSR
393 #define PGWRT_REG SPMCSR
394 #define RFLB_REG SPMCSR
395 #define CTPB_REG SPMCSR
396 #define RWWSB_REG SPMCSR
399 #define CAL0_REG OSCCAL
400 #define CAL1_REG OSCCAL
401 #define CAL2_REG OSCCAL
402 #define CAL3_REG OSCCAL
403 #define CAL4_REG OSCCAL
404 #define CAL5_REG OSCCAL
405 #define CAL6_REG OSCCAL
406 #define CAL7_REG OSCCAL
409 #define TCNT1L0_REG TCNT1L
410 #define TCNT1L1_REG TCNT1L
411 #define TCNT1L2_REG TCNT1L
412 #define TCNT1L3_REG TCNT1L
413 #define TCNT1L4_REG TCNT1L
414 #define TCNT1L5_REG TCNT1L
415 #define TCNT1L6_REG TCNT1L
416 #define TCNT1L7_REG TCNT1L
419 #define PORTB0_REG PORTB
420 #define PORTB1_REG PORTB
421 #define PORTB2_REG PORTB
422 #define PORTB3_REG PORTB
423 #define PORTB4_REG PORTB
424 #define PORTB5_REG PORTB
425 #define PORTB6_REG PORTB
426 #define PORTB7_REG PORTB
429 #define ADCL0_REG ADCL
430 #define ADCL1_REG ADCL
431 #define ADCL2_REG ADCL
432 #define ADCL3_REG ADCL
433 #define ADCL4_REG ADCL
434 #define ADCL5_REG ADCL
435 #define ADCL6_REG ADCL
436 #define ADCL7_REG ADCL
444 #define TCNT1H0_REG TCNT1H
445 #define TCNT1H1_REG TCNT1H
446 #define TCNT1H2_REG TCNT1H
447 #define TCNT1H3_REG TCNT1H
448 #define TCNT1H4_REG TCNT1H
449 #define TCNT1H5_REG TCNT1H
450 #define TCNT1H6_REG TCNT1H
451 #define TCNT1H7_REG TCNT1H
454 #define PORTC0_REG PORTC
455 #define PORTC1_REG PORTC
456 #define PORTC2_REG PORTC
457 #define PORTC3_REG PORTC
458 #define PORTC4_REG PORTC
459 #define PORTC5_REG PORTC
460 #define PORTC6_REG PORTC
461 #define PORTC7_REG PORTC
464 #define ADCH0_REG ADCH
465 #define ADCH1_REG ADCH
466 #define ADCH2_REG ADCH
467 #define ADCH3_REG ADCH
468 #define ADCH4_REG ADCH
469 #define ADCH5_REG ADCH
470 #define ADCH6_REG ADCH
471 #define ADCH7_REG ADCH
474 #define TWIHS_REG TWHSR
477 #define TWIE_REG TWCR
478 #define TWEN_REG TWCR
479 #define TWWC_REG TWCR
480 #define TWSTO_REG TWCR
481 #define TWSTA_REG TWCR
482 #define TWEA_REG TWCR
483 #define TWINT_REG TWCR
486 #define TCNT0_0_REG TCNT0
487 #define TCNT0_1_REG TCNT0
488 #define TCNT0_2_REG TCNT0
489 #define TCNT0_3_REG TCNT0
490 #define TCNT0_4_REG TCNT0
491 #define TCNT0_5_REG TCNT0
492 #define TCNT0_6_REG TCNT0
493 #define TCNT0_7_REG TCNT0
496 #define PCIE0_REG PCICR
497 #define PCIE1_REG PCICR
498 #define PCIE2_REG PCICR
499 #define PCIE3_REG PCICR
502 #define TWGCE_REG TWAR
503 #define TWA0_REG TWAR
504 #define TWA1_REG TWAR
505 #define TWA2_REG TWAR
506 #define TWA3_REG TWAR
507 #define TWA4_REG TWAR
508 #define TWA5_REG TWAR
509 #define TWA6_REG TWAR
512 #define GPIOR00_REG GPIOR0
513 #define GPIOR01_REG GPIOR0
514 #define GPIOR02_REG GPIOR0
515 #define GPIOR03_REG GPIOR0
516 #define GPIOR04_REG GPIOR0
517 #define GPIOR05_REG GPIOR0
518 #define GPIOR06_REG GPIOR0
519 #define GPIOR07_REG GPIOR0
522 #define EEAR0_REG EEARL
523 #define EEAR1_REG EEARL
524 #define EEAR2_REG EEARL
525 #define EEAR3_REG EEARL
526 #define EEAR4_REG EEARL
527 #define EEAR5_REG EEARL
528 #define EEAR6_REG EEARL
529 #define EEAR7_REG EEARL
532 #define TOIE0_REG TIMSK0
533 #define OCIE0A_REG TIMSK0
534 #define OCIE0B_REG TIMSK0
537 #define TOIE1_REG TIMSK1
538 #define OCIE1A_REG TIMSK1
539 #define OCIE1B_REG TIMSK1
540 #define ICIE1_REG TIMSK1
543 #define CS00_REG TCCR0A
544 #define CS01_REG TCCR0A
545 #define CS02_REG TCCR0A
546 #define CTC0_REG TCCR0A
549 #define TWPS0_REG TWSR
550 #define TWPS1_REG TWSR
551 #define TWS3_REG TWSR
552 #define TWS4_REG TWSR
553 #define TWS5_REG TWSR
554 #define TWS6_REG TWSR
555 #define TWS7_REG TWSR
558 #define GPIOR20_REG GPIOR2
559 #define GPIOR21_REG GPIOR2
560 #define GPIOR22_REG GPIOR2
561 #define GPIOR23_REG GPIOR2
562 #define GPIOR24_REG GPIOR2
563 #define GPIOR25_REG GPIOR2
564 #define GPIOR26_REG GPIOR2
565 #define GPIOR27_REG GPIOR2
568 #define PCINT0_REG PCMSK0
569 #define PCINT1_REG PCMSK0
570 #define PCINT2_REG PCMSK0
571 #define PCINT3_REG PCMSK0
572 #define PCINT4_REG PCMSK0
573 #define PCINT5_REG PCMSK0
574 #define PCINT6_REG PCMSK0
575 #define PCINT7_REG PCMSK0
578 #define PCINT8_REG PCMSK1
579 #define PCINT9_REG PCMSK1
580 #define PCINT10_REG PCMSK1
581 #define PCINT11_REG PCMSK1
582 #define PCINT12_REG PCMSK1
583 #define PCINT13_REG PCMSK1
584 #define PCINT14_REG PCMSK1
585 #define PCINT15_REG PCMSK1
588 #define PCINT16_REG PCMSK2
589 #define PCINT17_REG PCMSK2
590 #define PCINT18_REG PCMSK2
591 #define PCINT19_REG PCMSK2
592 #define PCINT20_REG PCMSK2
593 #define PCINT21_REG PCMSK2
594 #define PCINT22_REG PCMSK2
595 #define PCINT23_REG PCMSK2
598 #define PCINT24_REG PCMSK3
599 #define PCINT25_REG PCMSK3
600 #define PCINT26_REG PCMSK3
601 #define PCINT27_REG PCMSK3
604 #define PINC0_REG PINC
605 #define PINC1_REG PINC
606 #define PINC2_REG PINC
607 #define PINC3_REG PINC
608 #define PINC4_REG PINC
609 #define PINC5_REG PINC
610 #define PINC6_REG PINC
611 #define PINC7_REG PINC
614 #define DDC0_REG DDRC
615 #define DDC1_REG DDRC
616 #define DDC2_REG DDRC
617 #define DDC3_REG DDRC
618 #define DDC4_REG DDRC
619 #define DDC5_REG DDRC
620 #define DDC6_REG DDRC
621 #define DDC7_REG DDRC
624 #define INTF0_REG EIFR
625 #define INTF1_REG EIFR
628 #define ISC00_REG EICRA
629 #define ISC01_REG EICRA
630 #define ISC10_REG EICRA
631 #define ISC11_REG EICRA
634 #define ADC0D_REG DIDR0
635 #define ADC1D_REG DIDR0
636 #define ADC2D_REG DIDR0
637 #define ADC3D_REG DIDR0
638 #define ADC4D_REG DIDR0
639 #define ADC5D_REG DIDR0
640 #define ADC6D_REG DIDR0
641 #define ADC7D_REG DIDR0
644 #define AIN0D_REG DIDR1
645 #define AIN1D_REG DIDR1
646 #define AREFD_REG DIDR1
649 #define PUD_REG MCUCR
650 #define BODSE_REG MCUCR
651 #define BODS_REG MCUCR
654 #define TWAM0_REG TWAMR
655 #define TWAM1_REG TWAMR
656 #define TWAM2_REG TWAMR
657 #define TWAM3_REG TWAMR
658 #define TWAM4_REG TWAMR
659 #define TWAM5_REG TWAMR
660 #define TWAM6_REG TWAMR
663 #define DDD0_REG DDRD
664 #define DDD1_REG DDRD
665 #define DDD2_REG DDRD
666 #define DDD3_REG DDRD
667 #define DDD4_REG DDRD
668 #define DDD5_REG DDRD
669 #define DDD6_REG DDRD
670 #define DDD7_REG DDRD
673 #define OCR1AL0_REG OCR1AL
674 #define OCR1AL1_REG OCR1AL
675 #define OCR1AL2_REG OCR1AL
676 #define OCR1AL3_REG OCR1AL
677 #define OCR1AL4_REG OCR1AL
678 #define OCR1AL5_REG OCR1AL
679 #define OCR1AL6_REG OCR1AL
680 #define OCR1AL7_REG OCR1AL
683 #define TOV0_REG TIFR0
684 #define OCF0A_REG TIFR0
685 #define OCF0B_REG TIFR0
688 #define PINB0_REG PINB
689 #define PINB1_REG PINB
690 #define PINB2_REG PINB
691 #define PINB3_REG PINB
692 #define PINB4_REG PINB
693 #define PINB5_REG PINB
694 #define PINB6_REG PINB
695 #define PINB7_REG PINB
698 #define PORTA0_REG PORTA
699 #define PORTA1_REG PORTA
700 #define PORTA2_REG PORTA
701 #define PORTA3_REG PORTA
704 #define PIND0_REG PIND
705 #define PIND1_REG PIND
706 #define PIND2_REG PIND
707 #define PIND3_REG PIND
708 #define PIND4_REG PIND
709 #define PIND5_REG PIND
710 #define PIND6_REG PIND
711 #define PIND7_REG PIND
714 #define PINA0_REG PINA
715 #define PINA1_REG PINA
716 #define PINA2_REG PINA
717 #define PINA3_REG PINA
720 #define SPR0_REG SPCR
721 #define SPR1_REG SPCR
722 #define CPHA_REG SPCR
723 #define CPOL_REG SPCR
724 #define MSTR_REG SPCR
725 #define DORD_REG SPCR
727 #define SPIE_REG SPCR
730 #define TOV1_REG TIFR1
731 #define OCF1A_REG TIFR1
732 #define OCF1B_REG TIFR1
733 #define ICF1_REG TIFR1
736 #define ICP1_PORT PORTB
738 #define CLKO_PORT PORTB
740 #define PCINT0_PORT PORTB
743 #define OC1A_PORT PORTB
745 #define PCINT1_PORT PORTB
748 #define SS_PORT PORTB
750 #define OC1B_PORT PORTB
752 #define PCINT2_PORT PORTB
755 #define MOSI_PORT PORTB
757 #define OC2A_PORT PORTB
759 #define PCINT3_PORT PORTB
762 #define MISO_PORT PORTB
764 #define PCINT4_PORT PORTB
767 #define SCK_PORT PORTB
769 #define PCINT5_PORT PORTB
772 #define XTAL1_PORT PORTB
774 #define TOSC1_PORT PORTB
776 #define PCINT6_PORT PORTB
779 #define XTAL2_PORT PORTB
781 #define TOSC2_PORT PORTB
783 #define PCINT7_PORT PORTB
786 #define ADC0_PORT PORTC
788 #define PCINT8_PORT PORTC
791 #define ADC1_PORT PORTC
793 #define PCINT9_PORT PORTC
796 #define ADC2_PORT PORTC
798 #define PCINT10_PORT PORTC
799 #define PCINT10_BIT 2
801 #define ADC3_PORT PORTC
803 #define PCINT11_PORT PORTC
804 #define PCINT11_BIT 3
806 #define ADC4_PORT PORTC
808 #define SDA_PORT PORTC
810 #define PCINT12_PORT PORTC
811 #define PCINT12_BIT 4
813 #define ADC5_PORT PORTC
815 #define SCL_PORT PORTC
817 #define PCINT13_PORT PORTC
818 #define PCINT13_BIT 5
820 #define RESET_PORT PORTC
822 #define PCINT14_PORT PORTC
823 #define PCINT14_BIT 6
825 #define RXD_PORT PORTD
827 #define PCINT16_PORT PORTD
828 #define PCINT16_BIT 0
830 #define TXD_PORT PORTD
832 #define PCINT17_PORT PORTD
833 #define PCINT17_BIT 1
835 #define INT0_PORT PORTD
837 #define PCINT18_PORT PORTD
838 #define PCINT18_BIT 2
840 #define PCINT19_PORT PORTD
841 #define PCINT19_BIT 3
842 #define OC2B_PORT PORTD
844 #define INT1_PORT PORTD
847 #define XCK_PORT PORTD
849 #define T0_PORT PORTD
851 #define PCINT20_PORT PORTD
852 #define PCINT20_BIT 4
854 #define T1_PORT PORTD
856 #define OC0B_PORT PORTD
858 #define PCINT21_PORT PORTD
859 #define PCINT21_BIT 5
861 #define AIN0_PORT PORTD
863 #define OC0A_PORT PORTD
865 #define PCINT22_PORT PORTD
866 #define PCINT22_BIT 6
868 #define AIN1_PORT PORTD
870 #define PCINT23_PORT PORTD
871 #define PCINT23_BIT 7