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 #define TIMER0_PRESCALER_DIV_0 0
00029 #define TIMER0_PRESCALER_DIV_1 1
00030 #define TIMER0_PRESCALER_DIV_8 2
00031 #define TIMER0_PRESCALER_DIV_64 3
00032 #define TIMER0_PRESCALER_DIV_256 4
00033 #define TIMER0_PRESCALER_DIV_1024 5
00034 #define TIMER0_PRESCALER_DIV_FALL 6
00035 #define TIMER0_PRESCALER_DIV_RISE 7
00036
00037 #define TIMER0_PRESCALER_REG_0 0
00038 #define TIMER0_PRESCALER_REG_1 1
00039 #define TIMER0_PRESCALER_REG_2 8
00040 #define TIMER0_PRESCALER_REG_3 64
00041 #define TIMER0_PRESCALER_REG_4 256
00042 #define TIMER0_PRESCALER_REG_5 1024
00043 #define TIMER0_PRESCALER_REG_6 -1
00044 #define TIMER0_PRESCALER_REG_7 -2
00045
00046
00047 #define TIMER1_PRESCALER_DIV_0 0
00048 #define TIMER1_PRESCALER_DIV_1 1
00049 #define TIMER1_PRESCALER_DIV_8 2
00050 #define TIMER1_PRESCALER_DIV_64 3
00051 #define TIMER1_PRESCALER_DIV_256 4
00052 #define TIMER1_PRESCALER_DIV_1024 5
00053 #define TIMER1_PRESCALER_DIV_FALL 6
00054 #define TIMER1_PRESCALER_DIV_RISE 7
00055
00056 #define TIMER1_PRESCALER_REG_0 0
00057 #define TIMER1_PRESCALER_REG_1 1
00058 #define TIMER1_PRESCALER_REG_2 8
00059 #define TIMER1_PRESCALER_REG_3 64
00060 #define TIMER1_PRESCALER_REG_4 256
00061 #define TIMER1_PRESCALER_REG_5 1024
00062 #define TIMER1_PRESCALER_REG_6 -1
00063 #define TIMER1_PRESCALER_REG_7 -2
00064
00065
00066 #define TIMER2_PRESCALER_DIV_0 0
00067 #define TIMER2_PRESCALER_DIV_1 1
00068 #define TIMER2_PRESCALER_DIV_8 2
00069 #define TIMER2_PRESCALER_DIV_32 3
00070 #define TIMER2_PRESCALER_DIV_64 4
00071 #define TIMER2_PRESCALER_DIV_128 5
00072 #define TIMER2_PRESCALER_DIV_256 6
00073 #define TIMER2_PRESCALER_DIV_1024 7
00074
00075 #define TIMER2_PRESCALER_REG_0 0
00076 #define TIMER2_PRESCALER_REG_1 1
00077 #define TIMER2_PRESCALER_REG_2 8
00078 #define TIMER2_PRESCALER_REG_3 32
00079 #define TIMER2_PRESCALER_REG_4 64
00080 #define TIMER2_PRESCALER_REG_5 128
00081 #define TIMER2_PRESCALER_REG_6 256
00082 #define TIMER2_PRESCALER_REG_7 1024
00083
00084
00085
00086 #define TIMER0_AVAILABLE
00087 #define TIMER1_AVAILABLE
00088 #define TIMER1A_AVAILABLE
00089 #define TIMER1B_AVAILABLE
00090 #define TIMER2_AVAILABLE
00091
00092
00093 #define SIG_OVERFLOW0_NUM 0
00094 #define SIG_OVERFLOW1_NUM 1
00095 #define SIG_OVERFLOW2_NUM 2
00096 #define SIG_OVERFLOW_TOTAL_NUM 3
00097
00098
00099 #define SIG_OUTPUT_COMPARE0_NUM 0
00100 #define SIG_OUTPUT_COMPARE1A_NUM 1
00101 #define SIG_OUTPUT_COMPARE1B_NUM 2
00102 #define SIG_OUTPUT_COMPARE2_NUM 3
00103 #define SIG_OUTPUT_COMPARE_TOTAL_NUM 4
00104
00105
00106 #define PWM0_NUM 0
00107 #define PWM1A_NUM 1
00108 #define PWM1B_NUM 2
00109 #define PWM2_NUM 3
00110 #define PWM_TOTAL_NUM 4
00111
00112
00113 #define SIG_INPUT_CAPTURE1_NUM 0
00114 #define SIG_INPUT_CAPTURE_TOTAL_NUM 1
00115
00116
00117
00118 #define WDP0_REG WDTCR
00119 #define WDP1_REG WDTCR
00120 #define WDP2_REG WDTCR
00121 #define WDE_REG WDTCR
00122 #define WDTOE_REG WDTCR
00123
00124
00125 #define ICR1H0_REG ICR1H
00126 #define ICR1H1_REG ICR1H
00127 #define ICR1H2_REG ICR1H
00128 #define ICR1H3_REG ICR1H
00129 #define ICR1H4_REG ICR1H
00130 #define ICR1H5_REG ICR1H
00131 #define ICR1H6_REG ICR1H
00132 #define ICR1H7_REG ICR1H
00133
00134
00135 #define MUX0_REG ADMUX
00136 #define MUX1_REG ADMUX
00137 #define MUX2_REG ADMUX
00138 #define MUX3_REG ADMUX
00139 #define MUX4_REG ADMUX
00140 #define ADLAR_REG ADMUX
00141 #define REFS0_REG ADMUX
00142 #define REFS1_REG ADMUX
00143
00144
00145 #define CS00_REG TCCR0
00146 #define CS01_REG TCCR0
00147 #define CS02_REG TCCR0
00148 #define WGM01_REG TCCR0
00149 #define COM00_REG TCCR0
00150 #define COM01_REG TCCR0
00151 #define PWM0_REG TCCR0
00152 #define FOC0_REG TCCR0
00153
00154
00155 #define C_REG SREG
00156 #define Z_REG SREG
00157 #define N_REG SREG
00158 #define V_REG SREG
00159 #define S_REG SREG
00160 #define H_REG SREG
00161 #define T_REG SREG
00162 #define I_REG SREG
00163
00164
00165 #define DDB0_REG DDRB
00166 #define DDB1_REG DDRB
00167 #define DDB2_REG DDRB
00168 #define DDB3_REG DDRB
00169 #define DDB4_REG DDRB
00170 #define DDB5_REG DDRB
00171 #define DDB6_REG DDRB
00172 #define DDB7_REG DDRB
00173
00174
00175 #define IVCE_REG GICR
00176 #define IVSEL_REG GICR
00177 #define INT2_REG GICR
00178 #define INT0_REG GICR
00179 #define INT1_REG GICR
00180
00181
00182 #define SPI2X_REG SPSR
00183 #define WCOL_REG SPSR
00184 #define SPIF_REG SPSR
00185
00186
00187 #define TWD0_REG TWDR
00188 #define TWD1_REG TWDR
00189 #define TWD2_REG TWDR
00190 #define TWD3_REG TWDR
00191 #define TWD4_REG TWDR
00192 #define TWD5_REG TWDR
00193 #define TWD6_REG TWDR
00194 #define TWD7_REG TWDR
00195
00196
00197 #define EEDR0_REG EEDR
00198 #define EEDR1_REG EEDR
00199 #define EEDR2_REG EEDR
00200 #define EEDR3_REG EEDR
00201 #define EEDR4_REG EEDR
00202 #define EEDR5_REG EEDR
00203 #define EEDR6_REG EEDR
00204 #define EEDR7_REG EEDR
00205
00206
00207 #define DDC0_REG DDRC
00208 #define DDC1_REG DDRC
00209 #define DDC2_REG DDRC
00210 #define DDC3_REG DDRC
00211 #define DDC4_REG DDRC
00212 #define DDC5_REG DDRC
00213 #define DDC6_REG DDRC
00214 #define DDC7_REG DDRC
00215
00216
00217 #define DDA0_REG DDRA
00218 #define DDA1_REG DDRA
00219 #define DDA2_REG DDRA
00220 #define DDA3_REG DDRA
00221 #define DDA4_REG DDRA
00222 #define DDA5_REG DDRA
00223 #define DDA6_REG DDRA
00224 #define DDA7_REG DDRA
00225
00226
00227 #define WGM10_REG TCCR1A
00228 #define WGM11_REG TCCR1A
00229 #define FOC1B_REG TCCR1A
00230 #define FOC1A_REG TCCR1A
00231 #define COM1B0_REG TCCR1A
00232 #define COM1B1_REG TCCR1A
00233 #define COM1A0_REG TCCR1A
00234 #define COM1A1_REG TCCR1A
00235
00236
00237 #define DDD0_REG DDRD
00238 #define DDD1_REG DDRD
00239 #define DDD2_REG DDRD
00240 #define DDD3_REG DDRD
00241 #define DDD4_REG DDRD
00242 #define DDD5_REG DDRD
00243 #define DDD6_REG DDRD
00244 #define DDD7_REG DDRD
00245
00246
00247 #define CS10_REG TCCR1B
00248 #define CS11_REG TCCR1B
00249 #define CS12_REG TCCR1B
00250 #define CTC1_REG TCCR1B
00251 #define ICES1_REG TCCR1B
00252 #define ICNC1_REG TCCR1B
00253
00254
00255 #define INTF2_REG GIFR
00256 #define INTF0_REG GIFR
00257 #define INTF1_REG GIFR
00258
00259
00260 #define TOIE0_REG TIMSK
00261 #define OCIE0_REG TIMSK
00262 #define TOIE1_REG TIMSK
00263 #define OCIE1B_REG TIMSK
00264 #define OCIE1A_REG TIMSK
00265 #define TICIE1_REG TIMSK
00266 #define TOIE2_REG TIMSK
00267 #define OCIE2_REG TIMSK
00268
00269
00270 #define MPCM_REG UCSRA
00271 #define U2X_REG UCSRA
00272 #define UPE_REG UCSRA
00273 #define DOR_REG UCSRA
00274 #define FE_REG UCSRA
00275 #define UDRE_REG UCSRA
00276 #define TXC_REG UCSRA
00277 #define RXC_REG UCSRA
00278
00279
00280 #define SPDR0_REG SPDR
00281 #define SPDR1_REG SPDR
00282 #define SPDR2_REG SPDR
00283 #define SPDR3_REG SPDR
00284 #define SPDR4_REG SPDR
00285 #define SPDR5_REG SPDR
00286 #define SPDR6_REG SPDR
00287 #define SPDR7_REG SPDR
00288
00289
00290 #define ACME_REG SFIOR
00291 #define PSR10_REG SFIOR
00292 #define PSR2_REG SFIOR
00293 #define PUD_REG SFIOR
00294
00295
00296 #define ACIS0_REG ACSR
00297 #define ACIS1_REG ACSR
00298 #define ACIC_REG ACSR
00299 #define ACIE_REG ACSR
00300 #define ACI_REG ACSR
00301 #define ACO_REG ACSR
00302 #define ACBG_REG ACSR
00303 #define ACD_REG ACSR
00304
00305
00306 #define SP8_REG SPH
00307 #define SP9_REG SPH
00308 #define SP10_REG SPH
00309 #define SP11_REG SPH
00310
00311
00312 #define OCR1BL0_REG OCR1BL
00313 #define OCR1BL1_REG OCR1BL
00314 #define OCR1BL2_REG OCR1BL
00315 #define OCR1BL3_REG OCR1BL
00316 #define OCR1BL4_REG OCR1BL
00317 #define OCR1BL5_REG OCR1BL
00318 #define OCR1BL6_REG OCR1BL
00319 #define OCR1BL7_REG OCR1BL
00320
00321
00322 #define TXB8_REG UCSRB
00323 #define RXB8_REG UCSRB
00324 #define UCSZ2_REG UCSRB
00325 #define TXEN_REG UCSRB
00326 #define RXEN_REG UCSRB
00327 #define UDRIE_REG UCSRB
00328 #define TXCIE_REG UCSRB
00329 #define RXCIE_REG UCSRB
00330
00331
00332 #define UCPOL_REG UCSRC
00333 #define UCSZ0_REG UCSRC
00334 #define UCSZ1_REG UCSRC
00335 #define USBS_REG UCSRC
00336 #define UPM0_REG UCSRC
00337 #define UPM1_REG UCSRC
00338 #define UMSEL_REG UCSRC
00339 #define URSEL_REG UCSRC
00340
00341
00342 #define SP0_REG SPL
00343 #define SP1_REG SPL
00344 #define SP2_REG SPL
00345 #define SP3_REG SPL
00346 #define SP4_REG SPL
00347 #define SP5_REG SPL
00348 #define SP6_REG SPL
00349 #define SP7_REG SPL
00350
00351
00352 #define OCR1BH0_REG OCR1BH
00353 #define OCR1BH1_REG OCR1BH
00354 #define OCR1BH2_REG OCR1BH
00355 #define OCR1BH3_REG OCR1BH
00356 #define OCR1BH4_REG OCR1BH
00357 #define OCR1BH5_REG OCR1BH
00358 #define OCR1BH6_REG OCR1BH
00359 #define OCR1BH7_REG OCR1BH
00360
00361
00362 #define UDR0_REG UDR
00363 #define UDR1_REG UDR
00364 #define UDR2_REG UDR
00365 #define UDR3_REG UDR
00366 #define UDR4_REG UDR
00367 #define UDR5_REG UDR
00368 #define UDR6_REG UDR
00369 #define UDR7_REG UDR
00370
00371
00372 #define PIND0_REG PIND
00373 #define PIND1_REG PIND
00374 #define PIND2_REG PIND
00375 #define PIND3_REG PIND
00376 #define PIND4_REG PIND
00377 #define PIND5_REG PIND
00378 #define PIND6_REG PIND
00379 #define PIND7_REG PIND
00380
00381
00382 #define SPMEN_REG SPMCR
00383 #define PGERS_REG SPMCR
00384 #define PGWRT_REG SPMCR
00385 #define BLBSET_REG SPMCR
00386 #define ASRE_REG SPMCR
00387 #define ASB_REG SPMCR
00388
00389
00390 #define UBRR8_REG UBRRH
00391 #define UBRR9_REG UBRRH
00392 #define UBRR10_REG UBRRH
00393 #define UBRR11_REG UBRRH
00394
00395
00396 #define TWBR0_REG TWBR
00397 #define TWBR1_REG TWBR
00398 #define TWBR2_REG TWBR
00399 #define TWBR3_REG TWBR
00400 #define TWBR4_REG TWBR
00401 #define TWBR5_REG TWBR
00402 #define TWBR6_REG TWBR
00403 #define TWBR7_REG TWBR
00404
00405
00406 #define ADCL0_REG ADCL
00407 #define ADCL1_REG ADCL
00408 #define ADCL2_REG ADCL
00409 #define ADCL3_REG ADCL
00410 #define ADCL4_REG ADCL
00411 #define ADCL5_REG ADCL
00412 #define ADCL6_REG ADCL
00413 #define ADCL7_REG ADCL
00414
00415
00416 #define UBRR0_REG UBRRL
00417 #define UBRR1_REG UBRRL
00418 #define UBRR2_REG UBRRL
00419 #define UBRR3_REG UBRRL
00420 #define UBRR4_REG UBRRL
00421 #define UBRR5_REG UBRRL
00422 #define UBRR6_REG UBRRL
00423 #define UBRR7_REG UBRRL
00424
00425
00426 #define EERE_REG EECR
00427 #define EEWE_REG EECR
00428 #define EEMWE_REG EECR
00429 #define EERIE_REG EECR
00430
00431
00432 #define CAL0_REG OSCCAL
00433 #define CAL1_REG OSCCAL
00434 #define CAL2_REG OSCCAL
00435 #define CAL3_REG OSCCAL
00436 #define CAL4_REG OSCCAL
00437 #define CAL5_REG OSCCAL
00438 #define CAL6_REG OSCCAL
00439 #define CAL7_REG OSCCAL
00440
00441
00442 #define TCNT1L0_REG TCNT1L
00443 #define TCNT1L1_REG TCNT1L
00444 #define TCNT1L2_REG TCNT1L
00445 #define TCNT1L3_REG TCNT1L
00446 #define TCNT1L4_REG TCNT1L
00447 #define TCNT1L5_REG TCNT1L
00448 #define TCNT1L6_REG TCNT1L
00449 #define TCNT1L7_REG TCNT1L
00450
00451
00452 #define PORTB0_REG PORTB
00453 #define PORTB1_REG PORTB
00454 #define PORTB2_REG PORTB
00455 #define PORTB3_REG PORTB
00456 #define PORTB4_REG PORTB
00457 #define PORTB5_REG PORTB
00458 #define PORTB6_REG PORTB
00459 #define PORTB7_REG PORTB
00460
00461
00462 #define PORTD0_REG PORTD
00463 #define PORTD1_REG PORTD
00464 #define PORTD2_REG PORTD
00465 #define PORTD3_REG PORTD
00466 #define PORTD4_REG PORTD
00467 #define PORTD5_REG PORTD
00468 #define PORTD6_REG PORTD
00469 #define PORTD7_REG PORTD
00470
00471
00472 #define TCNT1H0_REG TCNT1H
00473 #define TCNT1H1_REG TCNT1H
00474 #define TCNT1H2_REG TCNT1H
00475 #define TCNT1H3_REG TCNT1H
00476 #define TCNT1H4_REG TCNT1H
00477 #define TCNT1H5_REG TCNT1H
00478 #define TCNT1H6_REG TCNT1H
00479 #define TCNT1H7_REG TCNT1H
00480
00481
00482 #define PORTC0_REG PORTC
00483 #define PORTC1_REG PORTC
00484 #define PORTC2_REG PORTC
00485 #define PORTC3_REG PORTC
00486 #define PORTC4_REG PORTC
00487 #define PORTC5_REG PORTC
00488 #define PORTC6_REG PORTC
00489 #define PORTC7_REG PORTC
00490
00491
00492 #define ADCH0_REG ADCH
00493 #define ADCH1_REG ADCH
00494 #define ADCH2_REG ADCH
00495 #define ADCH3_REG ADCH
00496 #define ADCH4_REG ADCH
00497 #define ADCH5_REG ADCH
00498 #define ADCH6_REG ADCH
00499 #define ADCH7_REG ADCH
00500
00501
00502 #define PORTA0_REG PORTA
00503 #define PORTA1_REG PORTA
00504 #define PORTA2_REG PORTA
00505 #define PORTA3_REG PORTA
00506 #define PORTA4_REG PORTA
00507 #define PORTA5_REG PORTA
00508 #define PORTA6_REG PORTA
00509 #define PORTA7_REG PORTA
00510
00511
00512 #define TWIE_REG TWCR
00513 #define TWEN_REG TWCR
00514 #define TWWC_REG TWCR
00515 #define TWSTO_REG TWCR
00516 #define TWSTA_REG TWCR
00517 #define TWEA_REG TWCR
00518 #define TWINT_REG TWCR
00519
00520
00521 #define TCNT0_0_REG TCNT0
00522 #define TCNT0_1_REG TCNT0
00523 #define TCNT0_2_REG TCNT0
00524 #define TCNT0_3_REG TCNT0
00525 #define TCNT0_4_REG TCNT0
00526 #define TCNT0_5_REG TCNT0
00527 #define TCNT0_6_REG TCNT0
00528 #define TCNT0_7_REG TCNT0
00529
00530
00531 #define PORF_REG MCUCSR
00532 #define EXTRF_REG MCUCSR
00533 #define BORF_REG MCUCSR
00534 #define WDRF_REG MCUCSR
00535 #define JTRF_REG MCUCSR
00536 #define ISC2_REG MCUCSR
00537 #define JDT_REG MCUCSR
00538
00539
00540 #define TWGCE_REG TWAR
00541 #define TWA0_REG TWAR
00542 #define TWA1_REG TWAR
00543 #define TWA2_REG TWAR
00544 #define TWA3_REG TWAR
00545 #define TWA4_REG TWAR
00546 #define TWA5_REG TWAR
00547 #define TWA6_REG TWAR
00548
00549
00550 #define ADPS0_REG ADCSR
00551 #define ADPS1_REG ADCSR
00552 #define ADPS2_REG ADCSR
00553 #define ADIE_REG ADCSR
00554 #define ADIF_REG ADCSR
00555 #define ADATE_REG ADCSR
00556 #define ADSC_REG ADCSR
00557 #define ADEN_REG ADCSR
00558
00559
00560 #define CS20_REG TCCR2
00561 #define CS21_REG TCCR2
00562 #define CS22_REG TCCR2
00563 #define CTC2_REG TCCR2
00564 #define COM20_REG TCCR2
00565 #define COM21_REG TCCR2
00566 #define PWM2_REG TCCR2
00567 #define FOC2_REG TCCR2
00568
00569
00570 #define TOV0_REG TIFR
00571 #define OCF0_REG TIFR
00572 #define TOV1_REG TIFR
00573 #define OCF1B_REG TIFR
00574 #define OCF1A_REG TIFR
00575 #define ICF1_REG TIFR
00576 #define TOV2_REG TIFR
00577 #define OCF2_REG TIFR
00578
00579
00580 #define EEAR8_REG EEARH
00581 #define EEAR9_REG EEARH
00582
00583
00584 #define TCNT2_0_REG TCNT2
00585 #define TCNT2_1_REG TCNT2
00586 #define TCNT2_2_REG TCNT2
00587 #define TCNT2_3_REG TCNT2
00588 #define TCNT2_4_REG TCNT2
00589 #define TCNT2_5_REG TCNT2
00590 #define TCNT2_6_REG TCNT2
00591 #define TCNT2_7_REG TCNT2
00592
00593
00594 #define EEAR00_REG EEARL
00595 #define EEAR1_REG EEARL
00596 #define EEAR2_REG EEARL
00597 #define EEAR3_REG EEARL
00598 #define EEAR4_REG EEARL
00599 #define EEAR5_REG EEARL
00600 #define EEAR6_REG EEARL
00601 #define EEAR7_REG EEARL
00602
00603
00604 #define TWS3_REG TWSR
00605 #define TWS4_REG TWSR
00606 #define TWS5_REG TWSR
00607 #define TWS6_REG TWSR
00608 #define TWS7_REG TWSR
00609
00610
00611 #define PINC0_REG PINC
00612 #define PINC1_REG PINC
00613 #define PINC2_REG PINC
00614 #define PINC3_REG PINC
00615 #define PINC4_REG PINC
00616 #define PINC5_REG PINC
00617 #define PINC6_REG PINC
00618 #define PINC7_REG PINC
00619
00620
00621 #define PINB0_REG PINB
00622 #define PINB1_REG PINB
00623 #define PINB2_REG PINB
00624 #define PINB3_REG PINB
00625 #define PINB4_REG PINB
00626 #define PINB5_REG PINB
00627 #define PINB6_REG PINB
00628 #define PINB7_REG PINB
00629
00630
00631 #define PINA0_REG PINA
00632 #define PINA1_REG PINA
00633 #define PINA2_REG PINA
00634 #define PINA3_REG PINA
00635 #define PINA4_REG PINA
00636 #define PINA5_REG PINA
00637 #define PINA6_REG PINA
00638 #define PINA7_REG PINA
00639
00640
00641 #define ISC00_REG MCUCR
00642 #define ISC01_REG MCUCR
00643 #define ISC10_REG MCUCR
00644 #define ISC11_REG MCUCR
00645 #define SM0_REG MCUCR
00646 #define SM1_REG MCUCR
00647 #define SM2_REG MCUCR
00648 #define SE_REG MCUCR
00649
00650
00651 #define OCR1AH0_REG OCR1AH
00652 #define OCR1AH1_REG OCR1AH
00653 #define OCR1AH2_REG OCR1AH
00654 #define OCR1AH3_REG OCR1AH
00655 #define OCR1AH4_REG OCR1AH
00656 #define OCR1AH5_REG OCR1AH
00657 #define OCR1AH6_REG OCR1AH
00658 #define OCR1AH7_REG OCR1AH
00659
00660
00661 #define OCR1AL0_REG OCR1AL
00662 #define OCR1AL1_REG OCR1AL
00663 #define OCR1AL2_REG OCR1AL
00664 #define OCR1AL3_REG OCR1AL
00665 #define OCR1AL4_REG OCR1AL
00666 #define OCR1AL5_REG OCR1AL
00667 #define OCR1AL6_REG OCR1AL
00668 #define OCR1AL7_REG OCR1AL
00669
00670
00671 #define SPR0_REG SPCR
00672 #define SPR1_REG SPCR
00673 #define CPHA_REG SPCR
00674 #define CPOL_REG SPCR
00675 #define MSTR_REG SPCR
00676 #define DORD_REG SPCR
00677 #define SPE_REG SPCR
00678 #define SPIE_REG SPCR
00679
00680
00681 #define TCR2UB_REG ASSR
00682 #define OCR2UB_REG ASSR
00683 #define TCN2UB_REG ASSR
00684 #define AS2_REG ASSR
00685
00686
00687 #define OCR0_0_REG OCR0
00688 #define OCR0_1_REG OCR0
00689 #define OCR0_2_REG OCR0
00690 #define OCR0_3_REG OCR0
00691 #define OCR0_4_REG OCR0
00692 #define OCR0_5_REG OCR0
00693 #define OCR0_6_REG OCR0
00694 #define OCR0_7_REG OCR0
00695
00696
00697 #define OCR2_0_REG OCR2
00698 #define OCR2_1_REG OCR2
00699 #define OCR2_2_REG OCR2
00700 #define OCR2_3_REG OCR2
00701 #define OCR2_4_REG OCR2
00702 #define OCR2_5_REG OCR2
00703 #define OCR2_6_REG OCR2
00704 #define OCR2_7_REG OCR2
00705
00706
00707 #define ICR1L0_REG ICR1L
00708 #define ICR1L1_REG ICR1L
00709 #define ICR1L2_REG ICR1L
00710 #define ICR1L3_REG ICR1L
00711 #define ICR1L4_REG ICR1L
00712 #define ICR1L5_REG ICR1L
00713 #define ICR1L6_REG ICR1L
00714 #define ICR1L7_REG ICR1L
00715
00716
00717 #define ADC0_PORT PORTA
00718 #define ADC0_BIT 0
00719
00720 #define ADC1_PORT PORTA
00721 #define ADC1_BIT 1
00722
00723 #define ADC2_PORT PORTA
00724 #define ADC2_BIT 2
00725
00726 #define ADC3_PORT PORTA
00727 #define ADC3_BIT 3
00728
00729 #define ADC4_PORT PORTA
00730 #define ADC4_BIT 4
00731
00732 #define ADc5_PORT PORTA
00733 #define ADc5_BIT 5
00734
00735 #define ADC6_PORT PORTA
00736 #define ADC6_BIT 6
00737
00738 #define ADC7_PORT PORTA
00739 #define ADC7_BIT 7
00740
00741 #define XCK_PORT PORTB
00742 #define XCK_BIT 0
00743 #define T0_PORT PORTB
00744 #define T0_BIT 0
00745
00746 #define T1_PORT PORTB
00747 #define T1_BIT 1
00748
00749 #define AIN0_PORT PORTB
00750 #define AIN0_BIT 2
00751 #define INT2_PORT PORTB
00752 #define INT2_BIT 2
00753
00754 #define AIN1_PORT PORTB
00755 #define AIN1_BIT 3
00756 #define OC0_PORT PORTB
00757 #define OC0_BIT 3
00758
00759 #define SS_PORT PORTB
00760 #define SS_BIT 4
00761
00762 #define MOSI_PORT PORTB
00763 #define MOSI_BIT 5
00764
00765 #define MISO_PORT PORTB
00766 #define MISO_BIT 6
00767
00768
00769 #define SCL_PORT PORTC
00770 #define SCL_BIT 0
00771
00772 #define SDA_PORT PORTC
00773 #define SDA_BIT 1
00774
00775 #define TMS_PORT PORTC
00776 #define TMS_BIT 2
00777
00778 #define TCK_PORT PORTC
00779 #define TCK_BIT 3
00780
00781 #define TDO_PORT PORTC
00782 #define TDO_BIT 4
00783
00784 #define TDI_PORT PORTC
00785 #define TDI_BIT 5
00786
00787 #define TOSC1_PORT PORTC
00788 #define TOSC1_BIT 6
00789
00790 #define TOSC2_PORT PORTC
00791 #define TOSC2_BIT 7
00792
00793 #define RXD_PORT PORTD
00794 #define RXD_BIT 0
00795
00796 #define TXD_PORT PORTD
00797 #define TXD_BIT 1
00798
00799 #define INT0_PORT PORTD
00800 #define INT0_BIT 2
00801
00802 #define INT1_PORT PORTD
00803 #define INT1_BIT 3
00804
00805 #define OC1B_PORT PORTD
00806 #define OC1B_BIT 4
00807
00808 #define OC1A_PORT PORTD
00809 #define OC1A_BIT 5
00810
00811 #define ICP_PORT PORTD
00812 #define ICP_BIT 6
00813
00814 #define OC2_PORT PORTD
00815 #define OC2_BIT 7
00816
00817