00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _AVR_IOM128_H_
00032 #define _AVR_IOM128_H_ 1
00033
00034
00035
00036 #ifndef _AVR_IO_H_
00037 # error "Include <avr/io.h> instead of this file."
00038 #endif
00039
00040 #ifndef _AVR_IOXXX_H_
00041 # define _AVR_IOXXX_H_ "iom128.h"
00042 #else
00043 # error "Attempt to include more than one <avr/ioXXX.h> file."
00044 #endif
00045
00046 #include <avr/sfr_defs.h>
00047
00048
00049
00050
00051 #define PINF _SFR_IO8(0x00)
00052
00053
00054 #define PINE _SFR_IO8(0x01)
00055
00056
00057 #define DDRE _SFR_IO8(0x02)
00058
00059
00060 #define PORTE _SFR_IO8(0x03)
00061
00062
00063 #define ADCW _SFR_IO16(0x04)
00064 #define ADC _SFR_IO16(0x04)
00065 #define ADCL _SFR_IO8(0x04)
00066 #define ADCH _SFR_IO8(0x05)
00067
00068
00069 #define ADCSR _SFR_IO8(0x06)
00070 #define ADCSRA _SFR_IO8(0x06)
00071
00072
00073 #define ADMUX _SFR_IO8(0x07)
00074
00075
00076 #define ACSR _SFR_IO8(0x08)
00077
00078
00079 #define UBRR0L _SFR_IO8(0x09)
00080
00081
00082 #define UCSR0B _SFR_IO8(0x0A)
00083
00084
00085 #define UCSR0A _SFR_IO8(0x0B)
00086
00087
00088 #define UDR0 _SFR_IO8(0x0C)
00089
00090
00091 #define SPCR _SFR_IO8(0x0D)
00092
00093
00094 #define SPSR _SFR_IO8(0x0E)
00095
00096
00097 #define SPDR _SFR_IO8(0x0F)
00098
00099
00100 #define PIND _SFR_IO8(0x10)
00101
00102
00103 #define DDRD _SFR_IO8(0x11)
00104
00105
00106 #define PORTD _SFR_IO8(0x12)
00107
00108
00109 #define PINC _SFR_IO8(0x13)
00110
00111
00112 #define DDRC _SFR_IO8(0x14)
00113
00114
00115 #define PORTC _SFR_IO8(0x15)
00116
00117
00118 #define PINB _SFR_IO8(0x16)
00119
00120
00121 #define DDRB _SFR_IO8(0x17)
00122
00123
00124 #define PORTB _SFR_IO8(0x18)
00125
00126
00127 #define PINA _SFR_IO8(0x19)
00128
00129
00130 #define DDRA _SFR_IO8(0x1A)
00131
00132
00133 #define PORTA _SFR_IO8(0x1B)
00134
00135
00136 #define EECR _SFR_IO8(0x1C)
00137
00138
00139 #define EEDR _SFR_IO8(0x1D)
00140
00141
00142 #define EEAR _SFR_IO16(0x1E)
00143 #define EEARL _SFR_IO8(0x1E)
00144 #define EEARH _SFR_IO8(0x1F)
00145
00146
00147 #define SFIOR _SFR_IO8(0x20)
00148
00149
00150 #define WDTCR _SFR_IO8(0x21)
00151
00152
00153 #define OCDR _SFR_IO8(0x22)
00154
00155
00156 #define OCR2 _SFR_IO8(0x23)
00157
00158
00159 #define TCNT2 _SFR_IO8(0x24)
00160
00161
00162 #define TCCR2 _SFR_IO8(0x25)
00163
00164
00165 #define ICR1 _SFR_IO16(0x26)
00166 #define ICR1L _SFR_IO8(0x26)
00167 #define ICR1H _SFR_IO8(0x27)
00168
00169
00170 #define OCR1B _SFR_IO16(0x28)
00171 #define OCR1BL _SFR_IO8(0x28)
00172 #define OCR1BH _SFR_IO8(0x29)
00173
00174
00175 #define OCR1A _SFR_IO16(0x2A)
00176 #define OCR1AL _SFR_IO8(0x2A)
00177 #define OCR1AH _SFR_IO8(0x2B)
00178
00179
00180 #define TCNT1 _SFR_IO16(0x2C)
00181 #define TCNT1L _SFR_IO8(0x2C)
00182 #define TCNT1H _SFR_IO8(0x2D)
00183
00184
00185 #define TCCR1B _SFR_IO8(0x2E)
00186
00187
00188 #define TCCR1A _SFR_IO8(0x2F)
00189
00190
00191 #define ASSR _SFR_IO8(0x30)
00192
00193
00194 #define OCR0 _SFR_IO8(0x31)
00195
00196
00197 #define TCNT0 _SFR_IO8(0x32)
00198
00199
00200 #define TCCR0 _SFR_IO8(0x33)
00201
00202
00203 #define MCUSR _SFR_IO8(0x34)
00204 #define MCUCSR _SFR_IO8(0x34)
00205
00206
00207 #define MCUCR _SFR_IO8(0x35)
00208
00209
00210 #define TIFR _SFR_IO8(0x36)
00211
00212
00213 #define TIMSK _SFR_IO8(0x37)
00214
00215
00216 #define EIFR _SFR_IO8(0x38)
00217
00218
00219 #define EIMSK _SFR_IO8(0x39)
00220
00221
00222 #define EICRB _SFR_IO8(0x3A)
00223
00224
00225 #define RAMPZ _SFR_IO8(0x3B)
00226
00227
00228 #define XDIV _SFR_IO8(0x3C)
00229
00230
00231 #define SP _SFR_IO16(0x3D)
00232 #define SPL _SFR_IO8(0x3D)
00233 #define SPH _SFR_IO8(0x3E)
00234
00235
00236 #define SREG _SFR_IO8(0x3F)
00237
00238
00239
00240
00241 #define DDRF _SFR_MEM8(0x61)
00242
00243
00244 #define PORTF _SFR_MEM8(0x62)
00245
00246
00247 #define PING _SFR_MEM8(0x63)
00248
00249
00250 #define DDRG _SFR_MEM8(0x64)
00251
00252
00253 #define PORTG _SFR_MEM8(0x65)
00254
00255
00256 #define SPMCR _SFR_MEM8(0x68)
00257 #define SPMCSR _SFR_MEM8(0x68)
00258
00259
00260 #define EICRA _SFR_MEM8(0x6A)
00261
00262
00263 #define XMCRB _SFR_MEM8(0x6C)
00264
00265
00266 #define XMCRA _SFR_MEM8(0x6D)
00267
00268
00269 #define OSCCAL _SFR_MEM8(0x6F)
00270
00271
00272 #define TWBR _SFR_MEM8(0x70)
00273
00274
00275 #define TWSR _SFR_MEM8(0x71)
00276
00277
00278 #define TWAR _SFR_MEM8(0x72)
00279
00280
00281 #define TWDR _SFR_MEM8(0x73)
00282
00283
00284 #define TWCR _SFR_MEM8(0x74)
00285
00286
00287 #define OCR1C _SFR_MEM16(0x78)
00288 #define OCR1CL _SFR_MEM8(0x78)
00289 #define OCR1CH _SFR_MEM8(0x79)
00290
00291
00292 #define TCCR1C _SFR_MEM8(0x7A)
00293
00294
00295 #define ETIFR _SFR_MEM8(0x7C)
00296
00297
00298 #define ETIMSK _SFR_MEM8(0x7D)
00299
00300
00301 #define ICR3 _SFR_MEM16(0x80)
00302 #define ICR3L _SFR_MEM8(0x80)
00303 #define ICR3H _SFR_MEM8(0x81)
00304
00305
00306 #define OCR3C _SFR_MEM16(0x82)
00307 #define OCR3CL _SFR_MEM8(0x82)
00308 #define OCR3CH _SFR_MEM8(0x83)
00309
00310
00311 #define OCR3B _SFR_MEM16(0x84)
00312 #define OCR3BL _SFR_MEM8(0x84)
00313 #define OCR3BH _SFR_MEM8(0x85)
00314
00315
00316 #define OCR3A _SFR_MEM16(0x86)
00317 #define OCR3AL _SFR_MEM8(0x86)
00318 #define OCR3AH _SFR_MEM8(0x87)
00319
00320
00321 #define TCNT3 _SFR_MEM16(0x88)
00322 #define TCNT3L _SFR_MEM8(0x88)
00323 #define TCNT3H _SFR_MEM8(0x89)
00324
00325
00326 #define TCCR3B _SFR_MEM8(0x8A)
00327
00328
00329 #define TCCR3A _SFR_MEM8(0x8B)
00330
00331
00332 #define TCCR3C _SFR_MEM8(0x8C)
00333
00334
00335 #define UBRR0H _SFR_MEM8(0x90)
00336
00337
00338 #define UCSR0C _SFR_MEM8(0x95)
00339
00340
00341 #define UBRR1H _SFR_MEM8(0x98)
00342
00343
00344 #define UBRR1L _SFR_MEM8(0x99)
00345
00346
00347 #define UCSR1B _SFR_MEM8(0x9A)
00348
00349
00350 #define UCSR1A _SFR_MEM8(0x9B)
00351
00352
00353 #define UDR1 _SFR_MEM8(0x9C)
00354
00355
00356 #define UCSR1C _SFR_MEM8(0x9D)
00357
00358
00359
00360
00361 #define SIG_INTERRUPT0 _VECTOR(1)
00362 #define SIG_INTERRUPT1 _VECTOR(2)
00363 #define SIG_INTERRUPT2 _VECTOR(3)
00364 #define SIG_INTERRUPT3 _VECTOR(4)
00365 #define SIG_INTERRUPT4 _VECTOR(5)
00366 #define SIG_INTERRUPT5 _VECTOR(6)
00367 #define SIG_INTERRUPT6 _VECTOR(7)
00368 #define SIG_INTERRUPT7 _VECTOR(8)
00369 #define SIG_OUTPUT_COMPARE2 _VECTOR(9)
00370 #define SIG_OVERFLOW2 _VECTOR(10)
00371 #define SIG_INPUT_CAPTURE1 _VECTOR(11)
00372 #define SIG_OUTPUT_COMPARE1A _VECTOR(12)
00373 #define SIG_OUTPUT_COMPARE1B _VECTOR(13)
00374 #define SIG_OVERFLOW1 _VECTOR(14)
00375 #define SIG_OUTPUT_COMPARE0 _VECTOR(15)
00376 #define SIG_OVERFLOW0 _VECTOR(16)
00377 #define SIG_SPI _VECTOR(17)
00378 #define SIG_UART0_RECV _VECTOR(18)
00379 #define SIG_UART0_DATA _VECTOR(19)
00380 #define SIG_UART0_TRANS _VECTOR(20)
00381 #define SIG_ADC _VECTOR(21)
00382 #define SIG_EEPROM_READY _VECTOR(22)
00383 #define SIG_COMPARATOR _VECTOR(23)
00384 #define SIG_OUTPUT_COMPARE1C _VECTOR(24)
00385 #define SIG_INPUT_CAPTURE3 _VECTOR(25)
00386 #define SIG_OUTPUT_COMPARE3A _VECTOR(26)
00387 #define SIG_OUTPUT_COMPARE3B _VECTOR(27)
00388 #define SIG_OUTPUT_COMPARE3C _VECTOR(28)
00389 #define SIG_OVERFLOW3 _VECTOR(29)
00390 #define SIG_UART1_RECV _VECTOR(30)
00391 #define SIG_UART1_DATA _VECTOR(31)
00392 #define SIG_UART1_TRANS _VECTOR(32)
00393 #define SIG_2WIRE_SERIAL _VECTOR(33)
00394 #define SIG_SPM_READY _VECTOR(34)
00395
00396 #define _VECTORS_SIZE 140
00397
00398
00399
00400
00401
00402
00403 #define TWINT 7
00404 #define TWEA 6
00405 #define TWSTA 5
00406 #define TWSTO 4
00407 #define TWWC 3
00408 #define TWEN 2
00409 #define TWIE 0
00410
00411
00412 #define TWA6 7
00413 #define TWA5 6
00414 #define TWA4 5
00415 #define TWA3 4
00416 #define TWA2 3
00417 #define TWA1 2
00418 #define TWA0 1
00419 #define TWGCE 0
00420
00421
00422 #define TWS7 7
00423 #define TWS6 6
00424 #define TWS5 5
00425 #define TWS4 4
00426 #define TWS3 3
00427 #define TWPS1 1
00428 #define TWPS0 0
00429
00430
00431 #define SRL2 6
00432 #define SRL1 5
00433 #define SRL0 4
00434 #define SRW01 3
00435 #define SRW00 2
00436 #define SRW11 1
00437
00438
00439 #define XMBK 7
00440 #define XMM2 2
00441 #define XMM1 1
00442 #define XMM0 0
00443
00444
00445 #define XDIVEN 7
00446 #define XDIV6 6
00447 #define XDIV5 5
00448 #define XDIV4 4
00449 #define XDIV3 3
00450 #define XDIV2 2
00451 #define XDIV1 1
00452 #define XDIV0 0
00453
00454
00455 #define RAMPZ0 0
00456
00457
00458 #define ISC31 7
00459 #define ISC30 6
00460 #define ISC21 5
00461 #define ISC20 4
00462 #define ISC11 3
00463 #define ISC10 2
00464 #define ISC01 1
00465 #define ISC00 0
00466
00467
00468 #define ISC71 7
00469 #define ISC70 6
00470 #define ISC61 5
00471 #define ISC60 4
00472 #define ISC51 3
00473 #define ISC50 2
00474 #define ISC41 1
00475 #define ISC40 0
00476
00477
00478 #define SPMIE 7
00479 #define RWWSB 6
00480 #define RWWSRE 4
00481 #define BLBSET 3
00482 #define PGWRT 2
00483 #define PGERS 1
00484 #define SPMEN 0
00485
00486
00487 #define INT7 7
00488 #define INT6 6
00489 #define INT5 5
00490 #define INT4 4
00491 #define INT3 3
00492 #define INT2 2
00493 #define INT1 1
00494 #define INT0 0
00495
00496
00497 #define INTF7 7
00498 #define INTF6 6
00499 #define INTF5 5
00500 #define INTF4 4
00501 #define INTF3 3
00502 #define INTF2 2
00503 #define INTF1 1
00504 #define INTF0 0
00505
00506
00507 #define OCIE2 7
00508 #define TOIE2 6
00509 #define TICIE1 5
00510 #define OCIE1A 4
00511 #define OCIE1B 3
00512 #define TOIE1 2
00513 #define OCIE0 1
00514 #define TOIE0 0
00515
00516
00517 #define OCF2 7
00518 #define TOV2 6
00519 #define ICF1 5
00520 #define OCF1A 4
00521 #define OCF1B 3
00522 #define TOV1 2
00523 #define OCF0 1
00524 #define TOV0 0
00525
00526
00527 #define TICIE3 5
00528 #define OCIE3A 4
00529 #define OCIE3B 3
00530 #define TOIE3 2
00531 #define OCIE3C 1
00532 #define OCIE1C 0
00533
00534
00535 #define ICF3 5
00536 #define OCF3A 4
00537 #define OCF3B 3
00538 #define TOV3 2
00539 #define OCF3C 1
00540 #define OCF1C 0
00541
00542
00543 #define SRE 7
00544 #define SRW 6
00545 #define SRW10 6
00546 #define SE 5
00547 #define SM1 4
00548 #define SM0 3
00549 #define SM2 2
00550 #define IVSEL 1
00551 #define IVCE 0
00552
00553
00554 #define JTD 7
00555 #define JTRF 4
00556 #define WDRF 3
00557 #define BORF 2
00558 #define EXTRF 1
00559 #define PORF 0
00560
00561
00562 #define FOC 7
00563 #define WGM0 6
00564 #define COM1 5
00565 #define COM0 4
00566 #define WGM1 3
00567 #define CS2 2
00568 #define CS1 1
00569 #define CS0 0
00570
00571
00572 #define FOC0 7
00573 #define WGM00 6
00574 #define COM01 5
00575 #define COM00 4
00576 #define WGM01 3
00577 #define CS12 2
00578 #define CS11 1
00579 #define CS10 0
00580
00581
00582 #define FOC2 7
00583 #define WGM20 6
00584 #define COM21 5
00585 #define COM20 4
00586 #define WGM21 3
00587 #define CS22 2
00588 #define CS21 1
00589 #define CS20 0
00590
00591
00592 #define AS0 3
00593 #define TCN0UB 2
00594 #define OCR0UB 1
00595 #define TCR0UB 0
00596
00597
00598 #define COMA1 7
00599 #define COMA0 6
00600 #define COMB1 5
00601 #define COMB0 4
00602 #define COMC1 3
00603 #define COMC0 2
00604 #define WGMA1 1
00605 #define WGMA0 0
00606
00607
00608 #define COM1A1 7
00609 #define COM1A0 6
00610 #define COM1B1 5
00611 #define COM1B0 4
00612 #define COM1C1 3
00613 #define COM1C0 2
00614 #define WGM11 1
00615 #define WGM10 0
00616
00617
00618 #define COM3A1 7
00619 #define COM3A0 6
00620 #define COM3B1 5
00621 #define COM3B0 4
00622 #define COM3C1 3
00623 #define COM3C0 2
00624 #define WGM31 1
00625 #define WGM30 0
00626
00627
00628 #define ICNC 7
00629 #define ICES 6
00630 #define WGMB3 4
00631 #define WGMB2 3
00632 #define CSB2 2
00633 #define CSB1 1
00634 #define CSB0 0
00635
00636
00637 #define ICNC1 7
00638 #define ICES1 6
00639 #define WGM13 4
00640 #define WGM12 3
00641 #define CS12 2
00642 #define CS11 1
00643 #define CS10 0
00644
00645
00646 #define ICNC3 7
00647 #define ICES3 6
00648 #define WGM33 4
00649 #define WGM32 3
00650 #define CS32 2
00651 #define CS31 1
00652 #define CS30 0
00653
00654
00655 #define FOCA 7
00656 #define FOCB 6
00657 #define FOCC 5
00658
00659
00660 #define FOC3A 7
00661 #define FOC3B 6
00662 #define FOC3C 5
00663
00664
00665 #define FOC1A 7
00666 #define FOC1B 6
00667 #define FOC1C 5
00668
00669
00670 #define IDRD 7
00671 #define OCDR7 7
00672 #define OCDR6 6
00673 #define OCDR5 5
00674 #define OCDR4 4
00675 #define OCDR3 3
00676 #define OCDR2 2
00677 #define OCDR1 1
00678 #define OCDR0 0
00679
00680
00681 #define WDCE 4
00682 #define WDE 3
00683 #define WDP2 2
00684 #define WDP1 1
00685 #define WDP0 0
00686
00687
00688 #define TSM 7
00689 #define ADHSM 4
00690 #define ACME 3
00691 #define PUD 2
00692 #define PSR0 1
00693 #define PSR321 0
00694
00695
00696 #define EERIE 3
00697 #define EEMWE 2
00698 #define EEWE 1
00699 #define EERE 0
00700
00701
00702 #define PORT7 7
00703 #define PORT6 6
00704 #define PORT5 5
00705 #define PORT4 4
00706 #define PORT3 3
00707 #define PORT2 2
00708 #define PORT1 1
00709 #define PORT0 0
00710
00711
00712 #define DD7 7
00713 #define DD6 6
00714 #define DD5 5
00715 #define DD4 4
00716 #define DD3 3
00717 #define DD2 2
00718 #define DD1 1
00719 #define DD0 0
00720
00721
00722 #define PIN7 7
00723 #define PIN6 6
00724 #define PIN5 5
00725 #define PIN4 4
00726 #define PIN3 3
00727 #define PIN2 2
00728 #define PIN1 1
00729 #define PIN0 0
00730
00731
00732 #define SREG_I 7
00733 #define SREG_T 6
00734 #define SREG_H 5
00735 #define SREG_S 4
00736 #define SREG_V 3
00737 #define SREG_N 2
00738 #define SREG_Z 1
00739 #define SREG_C 0
00740
00741
00742 #define SPIF 7
00743 #define WCOL 6
00744 #define SPI2X 0
00745
00746
00747 #define SPIE 7
00748 #define SPE 6
00749 #define DORD 5
00750 #define MSTR 4
00751 #define CPOL 3
00752 #define CPHA 2
00753 #define SPR1 1
00754 #define SPR0 0
00755
00756
00757 #define UMSEL 6
00758 #define UPM1 5
00759 #define UPM0 4
00760 #define USBS 3
00761 #define UCSZ1 2
00762 #define UCSZ0 1
00763 #define UCPOL 0
00764
00765
00766 #define UMSEL1 6
00767 #define UPM11 5
00768 #define UPM10 4
00769 #define USBS1 3
00770 #define UCSZ11 2
00771 #define UCSZ10 1
00772 #define UCPOL1 0
00773
00774
00775 #define UMSEL0 6
00776 #define UPM01 5
00777 #define UPM00 4
00778 #define USBS0 3
00779 #define UCSZ01 2
00780 #define UCSZ00 1
00781 #define UCPOL0 0
00782
00783
00784 #define RXC 7
00785 #define TXC 6
00786 #define UDRE 5
00787 #define FE 4
00788 #define DOR 3
00789 #define UPE 2
00790 #define U2X 1
00791 #define MPCM 0
00792
00793
00794 #define RXC1 7
00795 #define TXC1 6
00796 #define UDRE1 5
00797 #define FE1 4
00798 #define DOR1 3
00799 #define UPE1 2
00800 #define U2X1 1
00801 #define MPCM1 0
00802
00803
00804 #define RXC0 7
00805 #define TXC0 6
00806 #define UDRE0 5
00807 #define FE0 4
00808 #define DOR0 3
00809 #define UPE0 2
00810 #define U2X0 1
00811 #define MPCM0 0
00812
00813
00814 #define RXCIE 7
00815 #define TXCIE 6
00816 #define UDRIE 5
00817 #define RXEN 4
00818 #define TXEN 3
00819 #define UCSZ 2
00820 #define UCSZ2 2
00821 #define RXB8 1
00822 #define TXB8 0
00823
00824
00825 #define RXCIE1 7
00826 #define TXCIE1 6
00827 #define UDRIE1 5
00828 #define RXEN1 4
00829 #define TXEN1 3
00830 #define UCSZ12 2
00831 #define RXB81 1
00832 #define TXB81 0
00833
00834
00835 #define RXCIE0 7
00836 #define TXCIE0 6
00837 #define UDRIE0 5
00838 #define RXEN0 4
00839 #define TXEN0 3
00840 #define UCSZ02 2
00841 #define RXB80 1
00842 #define TXB80 0
00843
00844
00845 #define ACD 7
00846 #define ACBG 6
00847 #define ACO 5
00848 #define ACI 4
00849 #define ACIE 3
00850 #define ACIC 2
00851 #define ACIS1 1
00852 #define ACIS0 0
00853
00854
00855 #define ADEN 7
00856 #define ADSC 6
00857 #define ADFR 5
00858 #define ADIF 4
00859 #define ADIE 3
00860 #define ADPS2 2
00861 #define ADPS1 1
00862 #define ADPS0 0
00863
00864
00865 #define REFS1 7
00866 #define REFS0 6
00867 #define ADLAR 5
00868 #define MUX4 4
00869 #define MUX3 3
00870 #define MUX2 2
00871 #define MUX1 1
00872 #define MUX0 0
00873
00874
00875 #define PORTA7 7
00876 #define PORTA6 6
00877 #define PORTA5 5
00878 #define PORTA4 4
00879 #define PORTA3 3
00880 #define PORTA2 2
00881 #define PORTA1 1
00882 #define PORTA0 0
00883
00884
00885 #define DDA7 7
00886 #define DDA6 6
00887 #define DDA5 5
00888 #define DDA4 4
00889 #define DDA3 3
00890 #define DDA2 2
00891 #define DDA1 1
00892 #define DDA0 0
00893
00894
00895 #define PINA7 7
00896 #define PINA6 6
00897 #define PINA5 5
00898 #define PINA4 4
00899 #define PINA3 3
00900 #define PINA2 2
00901 #define PINA1 1
00902 #define PINA0 0
00903
00904
00905 #define PORTB7 7
00906 #define PORTB6 6
00907 #define PORTB5 5
00908 #define PORTB4 4
00909 #define PORTB3 3
00910 #define PORTB2 2
00911 #define PORTB1 1
00912 #define PORTB0 0
00913
00914
00915 #define DDB7 7
00916 #define DDB6 6
00917 #define DDB5 5
00918 #define DDB4 4
00919 #define DDB3 3
00920 #define DDB2 2
00921 #define DDB1 1
00922 #define DDB0 0
00923
00924
00925 #define PINB7 7
00926 #define PINB6 6
00927 #define PINB5 5
00928 #define PINB4 4
00929 #define PINB3 3
00930 #define PINB2 2
00931 #define PINB1 1
00932 #define PINB0 0
00933
00934
00935 #define PORTC7 7
00936 #define PORTC6 6
00937 #define PORTC5 5
00938 #define PORTC4 4
00939 #define PORTC3 3
00940 #define PORTC2 2
00941 #define PORTC1 1
00942 #define PORTC0 0
00943
00944
00945 #define DDC7 7
00946 #define DDC6 6
00947 #define DDC5 5
00948 #define DDC4 4
00949 #define DDC3 3
00950 #define DDC2 2
00951 #define DDC1 1
00952 #define DDC0 0
00953
00954
00955 #define PINC7 7
00956 #define PINC6 6
00957 #define PINC5 5
00958 #define PINC4 4
00959 #define PINC3 3
00960 #define PINC2 2
00961 #define PINC1 1
00962 #define PINC0 0
00963
00964
00965 #define PORTD7 7
00966 #define PORTD6 6
00967 #define PORTD5 5
00968 #define PORTD4 4
00969 #define PORTD3 3
00970 #define PORTD2 2
00971 #define PORTD1 1
00972 #define PORTD0 0
00973
00974
00975 #define DDD7 7
00976 #define DDD6 6
00977 #define DDD5 5
00978 #define DDD4 4
00979 #define DDD3 3
00980 #define DDD2 2
00981 #define DDD1 1
00982 #define DDD0 0
00983
00984
00985 #define PIND7 7
00986 #define PIND6 6
00987 #define PIND5 5
00988 #define PIND4 4
00989 #define PIND3 3
00990 #define PIND2 2
00991 #define PIND1 1
00992 #define PIND0 0
00993
00994
00995 #define PORTE7 7
00996 #define PORTE6 6
00997 #define PORTE5 5
00998 #define PORTE4 4
00999 #define PORTE3 3
01000 #define PORTE2 2
01001 #define PORTE1 1
01002 #define PORTE0 0
01003
01004
01005 #define DDE7 7
01006 #define DDE6 6
01007 #define DDE5 5
01008 #define DDE4 4
01009 #define DDE3 3
01010 #define DDE2 2
01011 #define DDE1 1
01012 #define DDE0 0
01013
01014
01015 #define PINE7 7
01016 #define PINE6 6
01017 #define PINE5 5
01018 #define PINE4 4
01019 #define PINE3 3
01020 #define PINE2 2
01021 #define PINE1 1
01022 #define PINE0 0
01023
01024
01025 #define PORTF7 7
01026 #define PORTF6 6
01027 #define PORTF5 5
01028 #define PORTF4 4
01029 #define PORTF3 3
01030 #define PORTF2 2
01031 #define PORTF1 1
01032 #define PORTF0 0
01033
01034
01035 #define DDF7 7
01036 #define DDF6 6
01037 #define DDF5 5
01038 #define DDF4 4
01039 #define DDF3 3
01040 #define DDF2 2
01041 #define DDF1 1
01042 #define DDF0 0
01043
01044
01045 #define PINF7 7
01046 #define PINF6 6
01047 #define PINF5 5
01048 #define PINF4 4
01049 #define PINF3 3
01050 #define PINF2 2
01051 #define PINF1 1
01052 #define PINF0 0
01053
01054
01055 #define PORTG4 4
01056 #define PORTG3 3
01057 #define PORTG2 2
01058 #define PORTG1 1
01059 #define PORTG0 0
01060
01061
01062 #define DDG4 4
01063 #define DDG3 3
01064 #define DDG2 2
01065 #define DDG1 1
01066 #define DDG0 0
01067
01068
01069 #define PING4 4
01070 #define PING3 3
01071 #define PING2 2
01072 #define PING1 1
01073 #define PING0 0
01074
01075
01076 #define XL r26
01077 #define XH r27
01078 #define YL r28
01079 #define YH r29
01080 #define ZL r30
01081 #define ZH r31
01082
01083
01084 #define RAMEND 0x10FF
01085 #define XRAMEND 0xFFFF
01086 #define E2END 0x0FFF
01087 #define FLASHEND 0x1FFFF
01088
01089 #endif