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 WGM00_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 WGM12_REG TCCR1B
00251 #define WGM13_REG TCCR1B
00252 #define ICES1_REG TCCR1B
00253 #define ICNC1_REG TCCR1B
00254
00255
00256 #define INTF2_REG GIFR
00257 #define INTF0_REG GIFR
00258 #define INTF1_REG GIFR
00259
00260
00261 #define TOIE0_REG TIMSK
00262 #define OCIE0_REG TIMSK
00263 #define TOIE1_REG TIMSK
00264 #define OCIE1B_REG TIMSK
00265 #define OCIE1A_REG TIMSK
00266 #define TICIE1_REG TIMSK
00267 #define TOIE2_REG TIMSK
00268 #define OCIE2_REG TIMSK
00269
00270
00271 #define ADPS0_REG ADCSRA
00272 #define ADPS1_REG ADCSRA
00273 #define ADPS2_REG ADCSRA
00274 #define ADIE_REG ADCSRA
00275 #define ADIF_REG ADCSRA
00276 #define ADATE_REG ADCSRA
00277 #define ADSC_REG ADCSRA
00278 #define ADEN_REG ADCSRA
00279
00280
00281 #define MPCM_REG UCSRA
00282 #define U2X_REG UCSRA
00283 #define UPE_REG UCSRA
00284 #define DOR_REG UCSRA
00285 #define FE_REG UCSRA
00286 #define UDRE_REG UCSRA
00287 #define TXC_REG UCSRA
00288 #define RXC_REG UCSRA
00289
00290
00291 #define SPDR0_REG SPDR
00292 #define SPDR1_REG SPDR
00293 #define SPDR2_REG SPDR
00294 #define SPDR3_REG SPDR
00295 #define SPDR4_REG SPDR
00296 #define SPDR5_REG SPDR
00297 #define SPDR6_REG SPDR
00298 #define SPDR7_REG SPDR
00299
00300
00301 #define PSR10_REG SFIOR
00302 #define PSR2_REG SFIOR
00303 #define PUD_REG SFIOR
00304 #define ACME_REG SFIOR
00305 #define ADTS0_REG SFIOR
00306 #define ADTS1_REG SFIOR
00307 #define ADTS2_REG SFIOR
00308
00309
00310 #define ACIS0_REG ACSR
00311 #define ACIS1_REG ACSR
00312 #define ACIC_REG ACSR
00313 #define ACIE_REG ACSR
00314 #define ACI_REG ACSR
00315 #define ACO_REG ACSR
00316 #define ACBG_REG ACSR
00317 #define ACD_REG ACSR
00318
00319
00320 #define SP8_REG SPH
00321 #define SP9_REG SPH
00322 #define SP10_REG SPH
00323 #define SP11_REG SPH
00324 #define SP12_REG SPH
00325 #define SP13_REG SPH
00326 #define SP14_REG SPH
00327 #define SP15_REG SPH
00328
00329
00330 #define OCR1BL0_REG OCR1BL
00331 #define OCR1BL1_REG OCR1BL
00332 #define OCR1BL2_REG OCR1BL
00333 #define OCR1BL3_REG OCR1BL
00334 #define OCR1BL4_REG OCR1BL
00335 #define OCR1BL5_REG OCR1BL
00336 #define OCR1BL6_REG OCR1BL
00337 #define OCR1BL7_REG OCR1BL
00338
00339
00340 #define TXB8_REG UCSRB
00341 #define RXB8_REG UCSRB
00342 #define UCSZ2_REG UCSRB
00343 #define TXEN_REG UCSRB
00344 #define RXEN_REG UCSRB
00345 #define UDRIE_REG UCSRB
00346 #define TXCIE_REG UCSRB
00347 #define RXCIE_REG UCSRB
00348
00349
00350 #define UCPOL_REG UCSRC
00351 #define UCSZ0_REG UCSRC
00352 #define UCSZ1_REG UCSRC
00353 #define USBS_REG UCSRC
00354 #define UPM0_REG UCSRC
00355 #define UPM1_REG UCSRC
00356 #define UMSEL_REG UCSRC
00357 #define URSEL_REG UCSRC
00358
00359
00360 #define SP0_REG SPL
00361 #define SP1_REG SPL
00362 #define SP2_REG SPL
00363 #define SP3_REG SPL
00364 #define SP4_REG SPL
00365 #define SP5_REG SPL
00366 #define SP6_REG SPL
00367 #define SP7_REG SPL
00368
00369
00370 #define OCR1BH0_REG OCR1BH
00371 #define OCR1BH1_REG OCR1BH
00372 #define OCR1BH2_REG OCR1BH
00373 #define OCR1BH3_REG OCR1BH
00374 #define OCR1BH4_REG OCR1BH
00375 #define OCR1BH5_REG OCR1BH
00376 #define OCR1BH6_REG OCR1BH
00377 #define OCR1BH7_REG OCR1BH
00378
00379
00380 #define UDR0_REG UDR
00381 #define UDR1_REG UDR
00382 #define UDR2_REG UDR
00383 #define UDR3_REG UDR
00384 #define UDR4_REG UDR
00385 #define UDR5_REG UDR
00386 #define UDR6_REG UDR
00387 #define UDR7_REG UDR
00388
00389
00390 #define PIND0_REG PIND
00391 #define PIND1_REG PIND
00392 #define PIND2_REG PIND
00393 #define PIND3_REG PIND
00394 #define PIND4_REG PIND
00395 #define PIND5_REG PIND
00396 #define PIND6_REG PIND
00397 #define PIND7_REG PIND
00398
00399
00400 #define ICR1L0_REG ICR1L
00401 #define ICR1L1_REG ICR1L
00402 #define ICR1L2_REG ICR1L
00403 #define ICR1L3_REG ICR1L
00404 #define ICR1L4_REG ICR1L
00405 #define ICR1L5_REG ICR1L
00406 #define ICR1L6_REG ICR1L
00407 #define ICR1L7_REG ICR1L
00408
00409
00410 #define UBRR8_REG UBRRH
00411 #define UBRR9_REG UBRRH
00412 #define UBRR10_REG UBRRH
00413 #define UBRR11_REG UBRRH
00414
00415
00416 #define TWBR0_REG TWBR
00417 #define TWBR1_REG TWBR
00418 #define TWBR2_REG TWBR
00419 #define TWBR3_REG TWBR
00420 #define TWBR4_REG TWBR
00421 #define TWBR5_REG TWBR
00422 #define TWBR6_REG TWBR
00423 #define TWBR7_REG TWBR
00424
00425
00426 #define ADCL0_REG ADCL
00427 #define ADCL1_REG ADCL
00428 #define ADCL2_REG ADCL
00429 #define ADCL3_REG ADCL
00430 #define ADCL4_REG ADCL
00431 #define ADCL5_REG ADCL
00432 #define ADCL6_REG ADCL
00433 #define ADCL7_REG ADCL
00434
00435
00436 #define UBRR0_REG UBRRL
00437 #define UBRR1_REG UBRRL
00438 #define UBRR2_REG UBRRL
00439 #define UBRR3_REG UBRRL
00440 #define UBRR4_REG UBRRL
00441 #define UBRR5_REG UBRRL
00442 #define UBRR6_REG UBRRL
00443 #define UBRR7_REG UBRRL
00444
00445
00446 #define EERE_REG EECR
00447 #define EEWE_REG EECR
00448 #define EEMWE_REG EECR
00449 #define EERIE_REG EECR
00450
00451
00452 #define SPMEN_REG SPMCSR
00453 #define PGERS_REG SPMCSR
00454 #define PGWRT_REG SPMCSR
00455 #define BLBSET_REG SPMCSR
00456 #define RWWSRE_REG SPMCSR
00457 #define RWWSB_REG SPMCSR
00458 #define SPMIE_REG SPMCSR
00459
00460
00461 #define CAL0_REG OSCCAL
00462 #define CAL1_REG OSCCAL
00463 #define CAL2_REG OSCCAL
00464 #define CAL3_REG OSCCAL
00465 #define CAL4_REG OSCCAL
00466 #define CAL5_REG OSCCAL
00467 #define CAL6_REG OSCCAL
00468 #define CAL7_REG OSCCAL
00469
00470
00471 #define TCNT1L0_REG TCNT1L
00472 #define TCNT1L1_REG TCNT1L
00473 #define TCNT1L2_REG TCNT1L
00474 #define TCNT1L3_REG TCNT1L
00475 #define TCNT1L4_REG TCNT1L
00476 #define TCNT1L5_REG TCNT1L
00477 #define TCNT1L6_REG TCNT1L
00478 #define TCNT1L7_REG TCNT1L
00479
00480
00481 #define PORTB0_REG PORTB
00482 #define PORTB1_REG PORTB
00483 #define PORTB2_REG PORTB
00484 #define PORTB3_REG PORTB
00485 #define PORTB4_REG PORTB
00486 #define PORTB5_REG PORTB
00487 #define PORTB6_REG PORTB
00488 #define PORTB7_REG PORTB
00489
00490
00491 #define PORTD0_REG PORTD
00492 #define PORTD1_REG PORTD
00493 #define PORTD2_REG PORTD
00494 #define PORTD3_REG PORTD
00495 #define PORTD4_REG PORTD
00496 #define PORTD5_REG PORTD
00497 #define PORTD6_REG PORTD
00498 #define PORTD7_REG PORTD
00499
00500
00501 #define TCNT1H0_REG TCNT1H
00502 #define TCNT1H1_REG TCNT1H
00503 #define TCNT1H2_REG TCNT1H
00504 #define TCNT1H3_REG TCNT1H
00505 #define TCNT1H4_REG TCNT1H
00506 #define TCNT1H5_REG TCNT1H
00507 #define TCNT1H6_REG TCNT1H
00508 #define TCNT1H7_REG TCNT1H
00509
00510
00511 #define PORTC0_REG PORTC
00512 #define PORTC1_REG PORTC
00513 #define PORTC2_REG PORTC
00514 #define PORTC3_REG PORTC
00515 #define PORTC4_REG PORTC
00516 #define PORTC5_REG PORTC
00517 #define PORTC6_REG PORTC
00518 #define PORTC7_REG PORTC
00519
00520
00521 #define ADCH0_REG ADCH
00522 #define ADCH1_REG ADCH
00523 #define ADCH2_REG ADCH
00524 #define ADCH3_REG ADCH
00525 #define ADCH4_REG ADCH
00526 #define ADCH5_REG ADCH
00527 #define ADCH6_REG ADCH
00528 #define ADCH7_REG ADCH
00529
00530
00531 #define PORTA0_REG PORTA
00532 #define PORTA1_REG PORTA
00533 #define PORTA2_REG PORTA
00534 #define PORTA3_REG PORTA
00535 #define PORTA4_REG PORTA
00536 #define PORTA5_REG PORTA
00537 #define PORTA6_REG PORTA
00538 #define PORTA7_REG PORTA
00539
00540
00541 #define TWIE_REG TWCR
00542 #define TWEN_REG TWCR
00543 #define TWWC_REG TWCR
00544 #define TWSTO_REG TWCR
00545 #define TWSTA_REG TWCR
00546 #define TWEA_REG TWCR
00547 #define TWINT_REG TWCR
00548
00549
00550 #define TCNT0_0_REG TCNT0
00551 #define TCNT0_1_REG TCNT0
00552 #define TCNT0_2_REG TCNT0
00553 #define TCNT0_3_REG TCNT0
00554 #define TCNT0_4_REG TCNT0
00555 #define TCNT0_5_REG TCNT0
00556 #define TCNT0_6_REG TCNT0
00557 #define TCNT0_7_REG TCNT0
00558
00559
00560 #define ISC2_REG MCUCSR
00561 #define PORF_REG MCUCSR
00562 #define EXTRF_REG MCUCSR
00563 #define BORF_REG MCUCSR
00564 #define WDRF_REG MCUCSR
00565 #define JTRF_REG MCUCSR
00566 #define JTD_REG MCUCSR
00567
00568
00569 #define TWGCE_REG TWAR
00570 #define TWA0_REG TWAR
00571 #define TWA1_REG TWAR
00572 #define TWA2_REG TWAR
00573 #define TWA3_REG TWAR
00574 #define TWA4_REG TWAR
00575 #define TWA5_REG TWAR
00576 #define TWA6_REG TWAR
00577
00578
00579 #define CS20_REG TCCR2
00580 #define CS21_REG TCCR2
00581 #define CS22_REG TCCR2
00582 #define WGM21_REG TCCR2
00583 #define COM20_REG TCCR2
00584 #define COM21_REG TCCR2
00585 #define WGM20_REG TCCR2
00586 #define FOC2_REG TCCR2
00587
00588
00589 #define TOV0_REG TIFR
00590 #define OCF0_REG TIFR
00591 #define TOV1_REG TIFR
00592 #define OCF1B_REG TIFR
00593 #define OCF1A_REG TIFR
00594 #define ICF1_REG TIFR
00595 #define TOV2_REG TIFR
00596 #define OCF2_REG TIFR
00597
00598
00599 #define EEAR8_REG EEARH
00600
00601
00602 #define TCNT2_0_REG TCNT2
00603 #define TCNT2_1_REG TCNT2
00604 #define TCNT2_2_REG TCNT2
00605 #define TCNT2_3_REG TCNT2
00606 #define TCNT2_4_REG TCNT2
00607 #define TCNT2_5_REG TCNT2
00608 #define TCNT2_6_REG TCNT2
00609 #define TCNT2_7_REG TCNT2
00610
00611
00612 #define EEAR0_REG EEARL
00613 #define EEAR1_REG EEARL
00614 #define EEAR2_REG EEARL
00615 #define EEAR3_REG EEARL
00616 #define EEAR4_REG EEARL
00617 #define EEAR5_REG EEARL
00618 #define EEAR6_REG EEARL
00619 #define EEAR7_REG EEARL
00620
00621
00622 #define TWPS0_REG TWSR
00623 #define TWPS1_REG TWSR
00624 #define TWS3_REG TWSR
00625 #define TWS4_REG TWSR
00626 #define TWS5_REG TWSR
00627 #define TWS6_REG TWSR
00628 #define TWS7_REG TWSR
00629
00630
00631 #define PINC0_REG PINC
00632 #define PINC1_REG PINC
00633 #define PINC2_REG PINC
00634 #define PINC3_REG PINC
00635 #define PINC4_REG PINC
00636 #define PINC5_REG PINC
00637 #define PINC6_REG PINC
00638 #define PINC7_REG PINC
00639
00640
00641 #define OCR0_0_REG OCR0
00642 #define OCR0_1_REG OCR0
00643 #define OCR0_2_REG OCR0
00644 #define OCR0_3_REG OCR0
00645 #define OCR0_4_REG OCR0
00646 #define OCR0_5_REG OCR0
00647 #define OCR0_6_REG OCR0
00648 #define OCR0_7_REG OCR0
00649
00650
00651 #define PINA0_REG PINA
00652 #define PINA1_REG PINA
00653 #define PINA2_REG PINA
00654 #define PINA3_REG PINA
00655 #define PINA4_REG PINA
00656 #define PINA5_REG PINA
00657 #define PINA6_REG PINA
00658 #define PINA7_REG PINA
00659
00660
00661 #define ISC00_REG MCUCR
00662 #define ISC01_REG MCUCR
00663 #define ISC10_REG MCUCR
00664 #define ISC11_REG MCUCR
00665 #define SM0_REG MCUCR
00666 #define SM1_REG MCUCR
00667 #define SE_REG MCUCR
00668 #define SM2_REG MCUCR
00669
00670
00671 #define OCR1AH0_REG OCR1AH
00672 #define OCR1AH1_REG OCR1AH
00673 #define OCR1AH2_REG OCR1AH
00674 #define OCR1AH3_REG OCR1AH
00675 #define OCR1AH4_REG OCR1AH
00676 #define OCR1AH5_REG OCR1AH
00677 #define OCR1AH6_REG OCR1AH
00678 #define OCR1AH7_REG OCR1AH
00679
00680
00681 #define OCR1AL0_REG OCR1AL
00682 #define OCR1AL1_REG OCR1AL
00683 #define OCR1AL2_REG OCR1AL
00684 #define OCR1AL3_REG OCR1AL
00685 #define OCR1AL4_REG OCR1AL
00686 #define OCR1AL5_REG OCR1AL
00687 #define OCR1AL6_REG OCR1AL
00688 #define OCR1AL7_REG OCR1AL
00689
00690
00691 #define SPR0_REG SPCR
00692 #define SPR1_REG SPCR
00693 #define CPHA_REG SPCR
00694 #define CPOL_REG SPCR
00695 #define MSTR_REG SPCR
00696 #define DORD_REG SPCR
00697 #define SPE_REG SPCR
00698 #define SPIE_REG SPCR
00699
00700
00701 #define PINB0_REG PINB
00702 #define PINB1_REG PINB
00703 #define PINB2_REG PINB
00704 #define PINB3_REG PINB
00705 #define PINB4_REG PINB
00706 #define PINB5_REG PINB
00707 #define PINB6_REG PINB
00708 #define PINB7_REG PINB
00709
00710
00711 #define OCDR0_REG OCDR
00712 #define OCDR1_REG OCDR
00713 #define OCDR2_REG OCDR
00714 #define OCDR3_REG OCDR
00715 #define OCDR4_REG OCDR
00716 #define OCDR5_REG OCDR
00717 #define OCDR6_REG OCDR
00718 #define OCDR7_REG OCDR
00719
00720
00721 #define OCR2_0_REG OCR2
00722 #define OCR2_1_REG OCR2
00723 #define OCR2_2_REG OCR2
00724 #define OCR2_3_REG OCR2
00725 #define OCR2_4_REG OCR2
00726 #define OCR2_5_REG OCR2
00727 #define OCR2_6_REG OCR2
00728 #define OCR2_7_REG OCR2
00729
00730
00731 #define TCR2UB_REG ASSR
00732 #define OCR2UB_REG ASSR
00733 #define TCN2UB_REG ASSR
00734 #define AS2_REG ASSR
00735
00736
00737 #define ADC0_PORT PORTA
00738 #define ADC0_BIT 0
00739
00740 #define ADC1_PORT PORTA
00741 #define ADC1_BIT 1
00742
00743 #define ADC2_PORT PORTA
00744 #define ADC2_BIT 2
00745
00746 #define ADC3_PORT PORTA
00747 #define ADC3_BIT 3
00748
00749 #define ADC4_PORT PORTA
00750 #define ADC4_BIT 4
00751
00752 #define ADc5_PORT PORTA
00753 #define ADc5_BIT 5
00754
00755 #define ADC6_PORT PORTA
00756 #define ADC6_BIT 6
00757
00758 #define ADC7_PORT PORTA
00759 #define ADC7_BIT 7
00760
00761 #define T0_PORT PORTB
00762 #define T0_BIT 0
00763
00764 #define T1_PORT PORTB
00765 #define T1_BIT 1
00766
00767 #define AIN0_PORT PORTB
00768 #define AIN0_BIT 2
00769
00770 #define AIN1_PORT PORTB
00771 #define AIN1_BIT 3
00772
00773 #define SS_PORT PORTB
00774 #define SS_BIT 4
00775
00776 #define MOSI_PORT PORTB
00777 #define MOSI_BIT 5
00778
00779 #define MISO_PORT PORTB
00780 #define MISO_BIT 6
00781
00782
00783 #define SCL_PORT PORTC
00784 #define SCL_BIT 0
00785
00786 #define SDA_PORT PORTC
00787 #define SDA_BIT 1
00788
00789 #define TMS_PORT PORTC
00790 #define TMS_BIT 2
00791
00792
00793
00794
00795 #define TOSC1_PORT PORTC
00796 #define TOSC1_BIT 6
00797
00798 #define TOSC2_PORT PORTC
00799 #define TOSC2_BIT 7
00800
00801 #define RXD_PORT PORTD
00802 #define RXD_BIT 0
00803
00804 #define TXD_PORT PORTD
00805 #define TXD_BIT 1
00806
00807 #define INT0_PORT PORTD
00808 #define INT0_BIT 2
00809
00810 #define INT1_PORT PORTD
00811 #define INT1_BIT 3
00812
00813 #define OC1B_PORT PORTD
00814 #define OC1B_BIT 4
00815
00816 #define OC1A_PORT PORTD
00817 #define OC1A_BIT 5
00818
00819 #define ICP_PORT PORTD
00820 #define ICP_BIT 6
00821
00822 #define OC2_PORT PORTD
00823 #define OC2_BIT 7
00824
00825