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
110 #define PCIF0_REG PCIFR
111 #define PCIF1_REG PCIFR
112 #define PCIF2_REG PCIFR
113 #define PCIF3_REG PCIFR
116 #define MUX0_REG ADMUX
117 #define MUX1_REG ADMUX
118 #define MUX2_REG ADMUX
119 #define MUX3_REG ADMUX
120 #define ADLAR_REG ADMUX
121 #define REFS0_REG ADMUX
122 #define REFS1_REG ADMUX
125 #define PUDA_REG PORTCR
126 #define PUDB_REG PORTCR
127 #define PUDC_REG PORTCR
128 #define PUDD_REG PORTCR
129 #define BBMA_REG PORTCR
130 #define BBMB_REG PORTCR
131 #define BBMC_REG PORTCR
132 #define BBMD_REG PORTCR
145 #define DDB0_REG DDRB
146 #define DDB1_REG DDRB
147 #define DDB2_REG DDRB
148 #define DDB3_REG DDRB
149 #define DDB4_REG DDRB
150 #define DDB5_REG DDRB
151 #define DDB6_REG DDRB
152 #define DDB7_REG DDRB
155 #define WDP0_REG WDTCSR
156 #define WDP1_REG WDTCSR
157 #define WDP2_REG WDTCSR
158 #define WDE_REG WDTCSR
159 #define WDCE_REG WDTCSR
160 #define WDP3_REG WDTCSR
161 #define WDIE_REG WDTCSR
162 #define WDIF_REG WDTCSR
165 #define EEDR0_REG EEDR
166 #define EEDR1_REG EEDR
167 #define EEDR2_REG EEDR
168 #define EEDR3_REG EEDR
169 #define EEDR4_REG EEDR
170 #define EEDR5_REG EEDR
171 #define EEDR6_REG EEDR
172 #define EEDR7_REG EEDR
175 #define TWD0_REG TWDR
176 #define TWD1_REG TWDR
177 #define TWD2_REG TWDR
178 #define TWD3_REG TWDR
179 #define TWD4_REG TWDR
180 #define TWD5_REG TWDR
181 #define TWD6_REG TWDR
182 #define TWD7_REG TWDR
185 #define OCR0B_0_REG OCR0B
186 #define OCR0B_1_REG OCR0B
187 #define OCR0B_2_REG OCR0B
188 #define OCR0B_3_REG OCR0B
189 #define OCR0B_4_REG OCR0B
190 #define OCR0B_5_REG OCR0B
191 #define OCR0B_6_REG OCR0B
192 #define OCR0B_7_REG OCR0B
195 #define WGM10_REG TCCR1A
196 #define WGM11_REG TCCR1A
197 #define COM1B0_REG TCCR1A
198 #define COM1B1_REG TCCR1A
199 #define COM1A0_REG TCCR1A
200 #define COM1A1_REG TCCR1A
203 #define FOC1B_REG TCCR1C
204 #define FOC1A_REG TCCR1C
207 #define CS10_REG TCCR1B
208 #define CS11_REG TCCR1B
209 #define CS12_REG TCCR1B
210 #define WGM12_REG TCCR1B
211 #define WGM13_REG TCCR1B
212 #define ICES1_REG TCCR1B
213 #define ICNC1_REG TCCR1B
216 #define OCR1AH0_REG OCR1AH
217 #define OCR1AH1_REG OCR1AH
218 #define OCR1AH2_REG OCR1AH
219 #define OCR1AH3_REG OCR1AH
220 #define OCR1AH4_REG OCR1AH
221 #define OCR1AH5_REG OCR1AH
222 #define OCR1AH6_REG OCR1AH
223 #define OCR1AH7_REG OCR1AH
226 #define PSRSYNC_REG GTCCR
227 #define TSM_REG GTCCR
230 #define DDA0_REG DDRA
231 #define DDA1_REG DDRA
232 #define DDA2_REG DDRA
233 #define DDA3_REG DDRA
236 #define ADPS0_REG ADCSRA
237 #define ADPS1_REG ADCSRA
238 #define ADPS2_REG ADCSRA
239 #define ADIE_REG ADCSRA
240 #define ADIF_REG ADCSRA
241 #define ADATE_REG ADCSRA
242 #define ADSC_REG ADCSRA
243 #define ADEN_REG ADCSRA
246 #define ADTS0_REG ADCSRB
247 #define ADTS1_REG ADCSRB
248 #define ADTS2_REG ADCSRB
249 #define ACME_REG ADCSRB
252 #define SPDR0_REG SPDR
253 #define SPDR1_REG SPDR
254 #define SPDR2_REG SPDR
255 #define SPDR3_REG SPDR
256 #define SPDR4_REG SPDR
257 #define SPDR5_REG SPDR
258 #define SPDR6_REG SPDR
259 #define SPDR7_REG SPDR
262 #define OCR0A_0_REG OCR0A
263 #define OCR0A_1_REG OCR0A
264 #define OCR0A_2_REG OCR0A
265 #define OCR0A_3_REG OCR0A
266 #define OCR0A_4_REG OCR0A
267 #define OCR0A_5_REG OCR0A
268 #define OCR0A_6_REG OCR0A
269 #define OCR0A_7_REG OCR0A
272 #define SPI2X_REG SPSR
273 #define WCOL_REG SPSR
274 #define SPIF_REG SPSR
277 #define ACIS0_REG ACSR
278 #define ACIS1_REG ACSR
279 #define ACIC_REG ACSR
280 #define ACIE_REG ACSR
283 #define ACBG_REG ACSR
287 #define ICR1H0_REG ICR1H
288 #define ICR1H1_REG ICR1H
289 #define ICR1H2_REG ICR1H
290 #define ICR1H3_REG ICR1H
291 #define ICR1H4_REG ICR1H
292 #define ICR1H5_REG ICR1H
293 #define ICR1H6_REG ICR1H
294 #define ICR1H7_REG ICR1H
297 #define OCR1BL0_REG OCR1BL
298 #define OCR1BL1_REG OCR1BL
299 #define OCR1BL2_REG OCR1BL
300 #define OCR1BL3_REG OCR1BL
301 #define OCR1BL4_REG OCR1BL
302 #define OCR1BL5_REG OCR1BL
303 #define OCR1BL6_REG OCR1BL
304 #define OCR1BL7_REG OCR1BL
307 #define ICR1L0_REG ICR1L
308 #define ICR1L1_REG ICR1L
309 #define ICR1L2_REG ICR1L
310 #define ICR1L3_REG ICR1L
311 #define ICR1L4_REG ICR1L
312 #define ICR1L5_REG ICR1L
313 #define ICR1L6_REG ICR1L
314 #define ICR1L7_REG ICR1L
317 #define OCR1BH0_REG OCR1BH
318 #define OCR1BH1_REG OCR1BH
319 #define OCR1BH2_REG OCR1BH
320 #define OCR1BH3_REG OCR1BH
321 #define OCR1BH4_REG OCR1BH
322 #define OCR1BH5_REG OCR1BH
323 #define OCR1BH6_REG OCR1BH
324 #define OCR1BH7_REG OCR1BH
327 #define PRADC_REG PRR
328 #define PRSPI_REG PRR
329 #define PRTIM1_REG PRR
330 #define PRTIM0_REG PRR
331 #define PRTWI_REG PRR
334 #define GPIOR10_REG GPIOR1
335 #define GPIOR11_REG GPIOR1
336 #define GPIOR12_REG GPIOR1
337 #define GPIOR13_REG GPIOR1
338 #define GPIOR14_REG GPIOR1
339 #define GPIOR15_REG GPIOR1
340 #define GPIOR16_REG GPIOR1
341 #define GPIOR17_REG GPIOR1
354 #define TWBR0_REG TWBR
355 #define TWBR1_REG TWBR
356 #define TWBR2_REG TWBR
357 #define TWBR3_REG TWBR
358 #define TWBR4_REG TWBR
359 #define TWBR5_REG TWBR
360 #define TWBR6_REG TWBR
361 #define TWBR7_REG TWBR
364 #define PORTD0_REG PORTD
365 #define PORTD1_REG PORTD
366 #define PORTD2_REG PORTD
367 #define PORTD3_REG PORTD
368 #define PORTD4_REG PORTD
369 #define PORTD5_REG PORTD
370 #define PORTD6_REG PORTD
371 #define PORTD7_REG PORTD
374 #define PORF_REG MCUSR
375 #define EXTRF_REG MCUSR
376 #define BORF_REG MCUSR
377 #define WDRF_REG MCUSR
380 #define INT0_REG EIMSK
381 #define INT1_REG EIMSK
384 #define EERE_REG EECR
385 #define EEPE_REG EECR
386 #define EEMPE_REG EECR
387 #define EERIE_REG EECR
388 #define EEPM0_REG EECR
389 #define EEPM1_REG EECR
392 #define SELFPRGEN_REG SPMCSR
393 #define PGERS_REG SPMCSR
394 #define PGWRT_REG SPMCSR
395 #define RFLB_REG SPMCSR
396 #define CTPB_REG SPMCSR
397 #define RWWSB_REG SPMCSR
400 #define CAL0_REG OSCCAL
401 #define CAL1_REG OSCCAL
402 #define CAL2_REG OSCCAL
403 #define CAL3_REG OSCCAL
404 #define CAL4_REG OSCCAL
405 #define CAL5_REG OSCCAL
406 #define CAL6_REG OSCCAL
407 #define CAL7_REG OSCCAL
410 #define TCNT1L0_REG TCNT1L
411 #define TCNT1L1_REG TCNT1L
412 #define TCNT1L2_REG TCNT1L
413 #define TCNT1L3_REG TCNT1L
414 #define TCNT1L4_REG TCNT1L
415 #define TCNT1L5_REG TCNT1L
416 #define TCNT1L6_REG TCNT1L
417 #define TCNT1L7_REG TCNT1L
420 #define PORTB0_REG PORTB
421 #define PORTB1_REG PORTB
422 #define PORTB2_REG PORTB
423 #define PORTB3_REG PORTB
424 #define PORTB4_REG PORTB
425 #define PORTB5_REG PORTB
426 #define PORTB6_REG PORTB
427 #define PORTB7_REG PORTB
430 #define ADCL0_REG ADCL
431 #define ADCL1_REG ADCL
432 #define ADCL2_REG ADCL
433 #define ADCL3_REG ADCL
434 #define ADCL4_REG ADCL
435 #define ADCL5_REG ADCL
436 #define ADCL6_REG ADCL
437 #define ADCL7_REG ADCL
445 #define TCNT1H0_REG TCNT1H
446 #define TCNT1H1_REG TCNT1H
447 #define TCNT1H2_REG TCNT1H
448 #define TCNT1H3_REG TCNT1H
449 #define TCNT1H4_REG TCNT1H
450 #define TCNT1H5_REG TCNT1H
451 #define TCNT1H6_REG TCNT1H
452 #define TCNT1H7_REG TCNT1H
455 #define PORTC0_REG PORTC
456 #define PORTC1_REG PORTC
457 #define PORTC2_REG PORTC
458 #define PORTC3_REG PORTC
459 #define PORTC4_REG PORTC
460 #define PORTC5_REG PORTC
461 #define PORTC6_REG PORTC
462 #define PORTC7_REG PORTC
465 #define ADCH0_REG ADCH
466 #define ADCH1_REG ADCH
467 #define ADCH2_REG ADCH
468 #define ADCH3_REG ADCH
469 #define ADCH4_REG ADCH
470 #define ADCH5_REG ADCH
471 #define ADCH6_REG ADCH
472 #define ADCH7_REG ADCH
475 #define TWIHS_REG TWHSR
478 #define TWIE_REG TWCR
479 #define TWEN_REG TWCR
480 #define TWWC_REG TWCR
481 #define TWSTO_REG TWCR
482 #define TWSTA_REG TWCR
483 #define TWEA_REG TWCR
484 #define TWINT_REG TWCR
487 #define TCNT0_0_REG TCNT0
488 #define TCNT0_1_REG TCNT0
489 #define TCNT0_2_REG TCNT0
490 #define TCNT0_3_REG TCNT0
491 #define TCNT0_4_REG TCNT0
492 #define TCNT0_5_REG TCNT0
493 #define TCNT0_6_REG TCNT0
494 #define TCNT0_7_REG TCNT0
497 #define PCIE0_REG PCICR
498 #define PCIE1_REG PCICR
499 #define PCIE2_REG PCICR
500 #define PCIE3_REG PCICR
503 #define TWGCE_REG TWAR
504 #define TWA0_REG TWAR
505 #define TWA1_REG TWAR
506 #define TWA2_REG TWAR
507 #define TWA3_REG TWAR
508 #define TWA4_REG TWAR
509 #define TWA5_REG TWAR
510 #define TWA6_REG TWAR
513 #define GPIOR00_REG GPIOR0
514 #define GPIOR01_REG GPIOR0
515 #define GPIOR02_REG GPIOR0
516 #define GPIOR03_REG GPIOR0
517 #define GPIOR04_REG GPIOR0
518 #define GPIOR05_REG GPIOR0
519 #define GPIOR06_REG GPIOR0
520 #define GPIOR07_REG GPIOR0
523 #define EEAR0_REG EEARL
524 #define EEAR1_REG EEARL
525 #define EEAR2_REG EEARL
526 #define EEAR3_REG EEARL
527 #define EEAR4_REG EEARL
528 #define EEAR5_REG EEARL
529 #define EEAR6_REG EEARL
530 #define EEAR7_REG EEARL
533 #define TOIE0_REG TIMSK0
534 #define OCIE0A_REG TIMSK0
535 #define OCIE0B_REG TIMSK0
538 #define TOIE1_REG TIMSK1
539 #define OCIE1A_REG TIMSK1
540 #define OCIE1B_REG TIMSK1
541 #define ICIE1_REG TIMSK1
544 #define CS00_REG TCCR0A
545 #define CS01_REG TCCR0A
546 #define CS02_REG TCCR0A
547 #define CTC0_REG TCCR0A
550 #define TWPS0_REG TWSR
551 #define TWPS1_REG TWSR
552 #define TWS3_REG TWSR
553 #define TWS4_REG TWSR
554 #define TWS5_REG TWSR
555 #define TWS6_REG TWSR
556 #define TWS7_REG TWSR
559 #define GPIOR20_REG GPIOR2
560 #define GPIOR21_REG GPIOR2
561 #define GPIOR22_REG GPIOR2
562 #define GPIOR23_REG GPIOR2
563 #define GPIOR24_REG GPIOR2
564 #define GPIOR25_REG GPIOR2
565 #define GPIOR26_REG GPIOR2
566 #define GPIOR27_REG GPIOR2
569 #define PCINT0_REG PCMSK0
570 #define PCINT1_REG PCMSK0
571 #define PCINT2_REG PCMSK0
572 #define PCINT3_REG PCMSK0
573 #define PCINT4_REG PCMSK0
574 #define PCINT5_REG PCMSK0
575 #define PCINT6_REG PCMSK0
576 #define PCINT7_REG PCMSK0
579 #define PCINT8_REG PCMSK1
580 #define PCINT9_REG PCMSK1
581 #define PCINT10_REG PCMSK1
582 #define PCINT11_REG PCMSK1
583 #define PCINT12_REG PCMSK1
584 #define PCINT13_REG PCMSK1
585 #define PCINT14_REG PCMSK1
586 #define PCINT15_REG PCMSK1
589 #define PCINT16_REG PCMSK2
590 #define PCINT17_REG PCMSK2
591 #define PCINT18_REG PCMSK2
592 #define PCINT19_REG PCMSK2
593 #define PCINT20_REG PCMSK2
594 #define PCINT21_REG PCMSK2
595 #define PCINT22_REG PCMSK2
596 #define PCINT23_REG PCMSK2
599 #define PCINT24_REG PCMSK3
600 #define PCINT25_REG PCMSK3
601 #define PCINT26_REG PCMSK3
602 #define PCINT27_REG PCMSK3
605 #define PINC0_REG PINC
606 #define PINC1_REG PINC
607 #define PINC2_REG PINC
608 #define PINC3_REG PINC
609 #define PINC4_REG PINC
610 #define PINC5_REG PINC
611 #define PINC6_REG PINC
612 #define PINC7_REG PINC
615 #define DDC0_REG DDRC
616 #define DDC1_REG DDRC
617 #define DDC2_REG DDRC
618 #define DDC3_REG DDRC
619 #define DDC4_REG DDRC
620 #define DDC5_REG DDRC
621 #define DDC6_REG DDRC
622 #define DDC7_REG DDRC
625 #define INTF0_REG EIFR
626 #define INTF1_REG EIFR
629 #define ISC00_REG EICRA
630 #define ISC01_REG EICRA
631 #define ISC10_REG EICRA
632 #define ISC11_REG EICRA
635 #define ADC0D_REG DIDR0
636 #define ADC1D_REG DIDR0
637 #define ADC2D_REG DIDR0
638 #define ADC3D_REG DIDR0
639 #define ADC4D_REG DIDR0
640 #define ADC5D_REG DIDR0
641 #define ADC6D_REG DIDR0
642 #define ADC7D_REG DIDR0
645 #define AIN0D_REG DIDR1
646 #define AIN1D_REG DIDR1
647 #define AREFD_REG DIDR1
650 #define PUD_REG MCUCR
651 #define BODSE_REG MCUCR
652 #define BODS_REG MCUCR
655 #define TWAM0_REG TWAMR
656 #define TWAM1_REG TWAMR
657 #define TWAM2_REG TWAMR
658 #define TWAM3_REG TWAMR
659 #define TWAM4_REG TWAMR
660 #define TWAM5_REG TWAMR
661 #define TWAM6_REG TWAMR
664 #define DDD0_REG DDRD
665 #define DDD1_REG DDRD
666 #define DDD2_REG DDRD
667 #define DDD3_REG DDRD
668 #define DDD4_REG DDRD
669 #define DDD5_REG DDRD
670 #define DDD6_REG DDRD
671 #define DDD7_REG DDRD
674 #define OCR1AL0_REG OCR1AL
675 #define OCR1AL1_REG OCR1AL
676 #define OCR1AL2_REG OCR1AL
677 #define OCR1AL3_REG OCR1AL
678 #define OCR1AL4_REG OCR1AL
679 #define OCR1AL5_REG OCR1AL
680 #define OCR1AL6_REG OCR1AL
681 #define OCR1AL7_REG OCR1AL
684 #define TOV0_REG TIFR0
685 #define OCF0A_REG TIFR0
686 #define OCF0B_REG TIFR0
689 #define PINB0_REG PINB
690 #define PINB1_REG PINB
691 #define PINB2_REG PINB
692 #define PINB3_REG PINB
693 #define PINB4_REG PINB
694 #define PINB5_REG PINB
695 #define PINB6_REG PINB
696 #define PINB7_REG PINB
699 #define PORTA0_REG PORTA
700 #define PORTA1_REG PORTA
701 #define PORTA2_REG PORTA
702 #define PORTA3_REG PORTA
705 #define PIND0_REG PIND
706 #define PIND1_REG PIND
707 #define PIND2_REG PIND
708 #define PIND3_REG PIND
709 #define PIND4_REG PIND
710 #define PIND5_REG PIND
711 #define PIND6_REG PIND
712 #define PIND7_REG PIND
715 #define PINA0_REG PINA
716 #define PINA1_REG PINA
717 #define PINA2_REG PINA
718 #define PINA3_REG PINA
721 #define SPR0_REG SPCR
722 #define SPR1_REG SPCR
723 #define CPHA_REG SPCR
724 #define CPOL_REG SPCR
725 #define MSTR_REG SPCR
726 #define DORD_REG SPCR
728 #define SPIE_REG SPCR
731 #define TOV1_REG TIFR1
732 #define OCF1A_REG TIFR1
733 #define OCF1B_REG TIFR1
734 #define ICF1_REG TIFR1
737 #define ICP1_PORT PORTB
739 #define CLKO_PORT PORTB
741 #define PCINT0_PORT PORTB
744 #define OC1A_PORT PORTB
746 #define PCINT1_PORT PORTB
749 #define SS_PORT PORTB
751 #define OC1B_PORT PORTB
753 #define PCINT2_PORT PORTB
756 #define MOSI_PORT PORTB
758 #define OC2A_PORT PORTB
760 #define PCINT3_PORT PORTB
763 #define MISO_PORT PORTB
765 #define PCINT4_PORT PORTB
768 #define SCK_PORT PORTB
770 #define PCINT5_PORT PORTB
773 #define XTAL1_PORT PORTB
775 #define TOSC1_PORT PORTB
777 #define PCINT6_PORT PORTB
780 #define XTAL2_PORT PORTB
782 #define TOSC2_PORT PORTB
784 #define PCINT7_PORT PORTB
787 #define ADC0_PORT PORTC
789 #define PCINT8_PORT PORTC
792 #define ADC1_PORT PORTC
794 #define PCINT9_PORT PORTC
797 #define ADC2_PORT PORTC
799 #define PCINT10_PORT PORTC
800 #define PCINT10_BIT 2
802 #define ADC3_PORT PORTC
804 #define PCINT11_PORT PORTC
805 #define PCINT11_BIT 3
807 #define ADC4_PORT PORTC
809 #define SDA_PORT PORTC
811 #define PCINT12_PORT PORTC
812 #define PCINT12_BIT 4
814 #define ADC5_PORT PORTC
816 #define SCL_PORT PORTC
818 #define PCINT13_PORT PORTC
819 #define PCINT13_BIT 5
821 #define RESET_PORT PORTC
823 #define PCINT14_PORT PORTC
824 #define PCINT14_BIT 6
826 #define RXD_PORT PORTD
828 #define PCINT16_PORT PORTD
829 #define PCINT16_BIT 0
831 #define TXD_PORT PORTD
833 #define PCINT17_PORT PORTD
834 #define PCINT17_BIT 1
836 #define INT0_PORT PORTD
838 #define PCINT18_PORT PORTD
839 #define PCINT18_BIT 2
841 #define PCINT19_PORT PORTD
842 #define PCINT19_BIT 3
843 #define OC2B_PORT PORTD
845 #define INT1_PORT PORTD
848 #define XCK_PORT PORTD
850 #define T0_PORT PORTD
852 #define PCINT20_PORT PORTD
853 #define PCINT20_BIT 4
855 #define T1_PORT PORTD
857 #define OC0B_PORT PORTD
859 #define PCINT21_PORT PORTD
860 #define PCINT21_BIT 5
862 #define AIN0_PORT PORTD
864 #define OC0A_PORT PORTD
866 #define PCINT22_PORT PORTD
867 #define PCINT22_BIT 6
869 #define AIN1_PORT PORTD
871 #define PCINT23_PORT PORTD
872 #define PCINT23_BIT 7