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
00067 #define TIMER0_AVAILABLE
00068 #define TIMER0A_AVAILABLE
00069 #define TIMER0B_AVAILABLE
00070 #define TIMER1_AVAILABLE
00071 #define TIMER1A_AVAILABLE
00072 #define TIMER1B_AVAILABLE
00073
00074
00075 #define SIG_OVERFLOW0_NUM 0
00076 #define SIG_OVERFLOW1_NUM 1
00077 #define SIG_OVERFLOW_TOTAL_NUM 2
00078
00079
00080 #define SIG_OUTPUT_COMPARE0A_NUM 0
00081 #define SIG_OUTPUT_COMPARE0B_NUM 1
00082 #define SIG_OUTPUT_COMPARE1A_NUM 2
00083 #define SIG_OUTPUT_COMPARE1B_NUM 3
00084 #define SIG_OUTPUT_COMPARE_TOTAL_NUM 4
00085
00086
00087 #define PWM0A_NUM 0
00088 #define PWM0B_NUM 1
00089 #define PWM1A_NUM 2
00090 #define PWM1B_NUM 3
00091 #define PWM_TOTAL_NUM 4
00092
00093
00094 #define SIG_INPUT_CAPTURE1_NUM 0
00095 #define SIG_INPUT_CAPTURE_TOTAL_NUM 1
00096
00097
00098
00099 #define CLKPS0_REG CLKPR
00100 #define CLKPS1_REG CLKPR
00101 #define CLKPS2_REG CLKPR
00102 #define CLKPS3_REG CLKPR
00103 #define CLKPCE_REG CLKPR
00104
00105
00106 #define SP8_REG SPH
00107 #define SP9_REG SPH
00108
00109
00110 #define PCIF0_REG PCIFR
00111 #define PCIF1_REG PCIFR
00112 #define PCIF2_REG PCIFR
00113 #define PCIF3_REG PCIFR
00114
00115
00116 #define MUX0_REG ADMUX
00117 #define MUX1_REG ADMUX
00118 #define MUX2_REG ADMUX
00119 #define MUX3_REG ADMUX
00120 #define ADLAR_REG ADMUX
00121 #define REFS0_REG ADMUX
00122 #define REFS1_REG ADMUX
00123
00124
00125 #define PUDA_REG PORTCR
00126 #define PUDB_REG PORTCR
00127 #define PUDC_REG PORTCR
00128 #define PUDD_REG PORTCR
00129 #define BBMA_REG PORTCR
00130 #define BBMB_REG PORTCR
00131 #define BBMC_REG PORTCR
00132 #define BBMD_REG PORTCR
00133
00134
00135 #define C_REG SREG
00136 #define Z_REG SREG
00137 #define N_REG SREG
00138 #define V_REG SREG
00139 #define S_REG SREG
00140 #define H_REG SREG
00141 #define T_REG SREG
00142 #define I_REG SREG
00143
00144
00145 #define DDB0_REG DDRB
00146 #define DDB1_REG DDRB
00147 #define DDB2_REG DDRB
00148 #define DDB3_REG DDRB
00149 #define DDB4_REG DDRB
00150 #define DDB5_REG DDRB
00151 #define DDB6_REG DDRB
00152 #define DDB7_REG DDRB
00153
00154
00155 #define WDP0_REG WDTCSR
00156 #define WDP1_REG WDTCSR
00157 #define WDP2_REG WDTCSR
00158 #define WDE_REG WDTCSR
00159 #define WDCE_REG WDTCSR
00160 #define WDP3_REG WDTCSR
00161 #define WDIE_REG WDTCSR
00162 #define WDIF_REG WDTCSR
00163
00164
00165 #define EEDR0_REG EEDR
00166 #define EEDR1_REG EEDR
00167 #define EEDR2_REG EEDR
00168 #define EEDR3_REG EEDR
00169 #define EEDR4_REG EEDR
00170 #define EEDR5_REG EEDR
00171 #define EEDR6_REG EEDR
00172 #define EEDR7_REG EEDR
00173
00174
00175 #define TWD0_REG TWDR
00176 #define TWD1_REG TWDR
00177 #define TWD2_REG TWDR
00178 #define TWD3_REG TWDR
00179 #define TWD4_REG TWDR
00180 #define TWD5_REG TWDR
00181 #define TWD6_REG TWDR
00182 #define TWD7_REG TWDR
00183
00184
00185 #define OCR0B_0_REG OCR0B
00186 #define OCR0B_1_REG OCR0B
00187 #define OCR0B_2_REG OCR0B
00188 #define OCR0B_3_REG OCR0B
00189 #define OCR0B_4_REG OCR0B
00190 #define OCR0B_5_REG OCR0B
00191 #define OCR0B_6_REG OCR0B
00192 #define OCR0B_7_REG OCR0B
00193
00194
00195 #define WGM10_REG TCCR1A
00196 #define WGM11_REG TCCR1A
00197 #define COM1B0_REG TCCR1A
00198 #define COM1B1_REG TCCR1A
00199 #define COM1A0_REG TCCR1A
00200 #define COM1A1_REG TCCR1A
00201
00202
00203 #define FOC1B_REG TCCR1C
00204 #define FOC1A_REG TCCR1C
00205
00206
00207 #define CS10_REG TCCR1B
00208 #define CS11_REG TCCR1B
00209 #define CS12_REG TCCR1B
00210 #define WGM12_REG TCCR1B
00211 #define WGM13_REG TCCR1B
00212 #define ICES1_REG TCCR1B
00213 #define ICNC1_REG TCCR1B
00214
00215
00216 #define OCR1AH0_REG OCR1AH
00217 #define OCR1AH1_REG OCR1AH
00218 #define OCR1AH2_REG OCR1AH
00219 #define OCR1AH3_REG OCR1AH
00220 #define OCR1AH4_REG OCR1AH
00221 #define OCR1AH5_REG OCR1AH
00222 #define OCR1AH6_REG OCR1AH
00223 #define OCR1AH7_REG OCR1AH
00224
00225
00226 #define PSRSYNC_REG GTCCR
00227 #define TSM_REG GTCCR
00228
00229
00230 #define DDA0_REG DDRA
00231 #define DDA1_REG DDRA
00232 #define DDA2_REG DDRA
00233 #define DDA3_REG DDRA
00234
00235
00236 #define ADPS0_REG ADCSRA
00237 #define ADPS1_REG ADCSRA
00238 #define ADPS2_REG ADCSRA
00239 #define ADIE_REG ADCSRA
00240 #define ADIF_REG ADCSRA
00241 #define ADATE_REG ADCSRA
00242 #define ADSC_REG ADCSRA
00243 #define ADEN_REG ADCSRA
00244
00245
00246 #define ADTS0_REG ADCSRB
00247 #define ADTS1_REG ADCSRB
00248 #define ADTS2_REG ADCSRB
00249 #define ACME_REG ADCSRB
00250
00251
00252 #define SPDR0_REG SPDR
00253 #define SPDR1_REG SPDR
00254 #define SPDR2_REG SPDR
00255 #define SPDR3_REG SPDR
00256 #define SPDR4_REG SPDR
00257 #define SPDR5_REG SPDR
00258 #define SPDR6_REG SPDR
00259 #define SPDR7_REG SPDR
00260
00261
00262 #define OCR0A_0_REG OCR0A
00263 #define OCR0A_1_REG OCR0A
00264 #define OCR0A_2_REG OCR0A
00265 #define OCR0A_3_REG OCR0A
00266 #define OCR0A_4_REG OCR0A
00267 #define OCR0A_5_REG OCR0A
00268 #define OCR0A_6_REG OCR0A
00269 #define OCR0A_7_REG OCR0A
00270
00271
00272 #define SPI2X_REG SPSR
00273 #define WCOL_REG SPSR
00274 #define SPIF_REG SPSR
00275
00276
00277 #define ACIS0_REG ACSR
00278 #define ACIS1_REG ACSR
00279 #define ACIC_REG ACSR
00280 #define ACIE_REG ACSR
00281 #define ACI_REG ACSR
00282 #define ACO_REG ACSR
00283 #define ACBG_REG ACSR
00284 #define ACD_REG ACSR
00285
00286
00287 #define ICR1H0_REG ICR1H
00288 #define ICR1H1_REG ICR1H
00289 #define ICR1H2_REG ICR1H
00290 #define ICR1H3_REG ICR1H
00291 #define ICR1H4_REG ICR1H
00292 #define ICR1H5_REG ICR1H
00293 #define ICR1H6_REG ICR1H
00294 #define ICR1H7_REG ICR1H
00295
00296
00297 #define OCR1BL0_REG OCR1BL
00298 #define OCR1BL1_REG OCR1BL
00299 #define OCR1BL2_REG OCR1BL
00300 #define OCR1BL3_REG OCR1BL
00301 #define OCR1BL4_REG OCR1BL
00302 #define OCR1BL5_REG OCR1BL
00303 #define OCR1BL6_REG OCR1BL
00304 #define OCR1BL7_REG OCR1BL
00305
00306
00307 #define ICR1L0_REG ICR1L
00308 #define ICR1L1_REG ICR1L
00309 #define ICR1L2_REG ICR1L
00310 #define ICR1L3_REG ICR1L
00311 #define ICR1L4_REG ICR1L
00312 #define ICR1L5_REG ICR1L
00313 #define ICR1L6_REG ICR1L
00314 #define ICR1L7_REG ICR1L
00315
00316
00317 #define OCR1BH0_REG OCR1BH
00318 #define OCR1BH1_REG OCR1BH
00319 #define OCR1BH2_REG OCR1BH
00320 #define OCR1BH3_REG OCR1BH
00321 #define OCR1BH4_REG OCR1BH
00322 #define OCR1BH5_REG OCR1BH
00323 #define OCR1BH6_REG OCR1BH
00324 #define OCR1BH7_REG OCR1BH
00325
00326
00327 #define PRADC_REG PRR
00328 #define PRSPI_REG PRR
00329 #define PRTIM1_REG PRR
00330 #define PRTIM0_REG PRR
00331 #define PRTWI_REG PRR
00332
00333
00334 #define GPIOR10_REG GPIOR1
00335 #define GPIOR11_REG GPIOR1
00336 #define GPIOR12_REG GPIOR1
00337 #define GPIOR13_REG GPIOR1
00338 #define GPIOR14_REG GPIOR1
00339 #define GPIOR15_REG GPIOR1
00340 #define GPIOR16_REG GPIOR1
00341 #define GPIOR17_REG GPIOR1
00342
00343
00344 #define SP0_REG SPL
00345 #define SP1_REG SPL
00346 #define SP2_REG SPL
00347 #define SP3_REG SPL
00348 #define SP4_REG SPL
00349 #define SP5_REG SPL
00350 #define SP6_REG SPL
00351 #define SP7_REG SPL
00352
00353
00354 #define TWBR0_REG TWBR
00355 #define TWBR1_REG TWBR
00356 #define TWBR2_REG TWBR
00357 #define TWBR3_REG TWBR
00358 #define TWBR4_REG TWBR
00359 #define TWBR5_REG TWBR
00360 #define TWBR6_REG TWBR
00361 #define TWBR7_REG TWBR
00362
00363
00364 #define PORTD0_REG PORTD
00365 #define PORTD1_REG PORTD
00366 #define PORTD2_REG PORTD
00367 #define PORTD3_REG PORTD
00368 #define PORTD4_REG PORTD
00369 #define PORTD5_REG PORTD
00370 #define PORTD6_REG PORTD
00371 #define PORTD7_REG PORTD
00372
00373
00374 #define PORF_REG MCUSR
00375 #define EXTRF_REG MCUSR
00376 #define BORF_REG MCUSR
00377 #define WDRF_REG MCUSR
00378
00379
00380 #define INT0_REG EIMSK
00381 #define INT1_REG EIMSK
00382
00383
00384 #define EERE_REG EECR
00385 #define EEPE_REG EECR
00386 #define EEMPE_REG EECR
00387 #define EERIE_REG EECR
00388 #define EEPM0_REG EECR
00389 #define EEPM1_REG EECR
00390
00391
00392 #define SELFPRGEN_REG SPMCSR
00393 #define PGERS_REG SPMCSR
00394 #define PGWRT_REG SPMCSR
00395 #define RFLB_REG SPMCSR
00396 #define CTPB_REG SPMCSR
00397 #define RWWSB_REG SPMCSR
00398
00399
00400 #define CAL0_REG OSCCAL
00401 #define CAL1_REG OSCCAL
00402 #define CAL2_REG OSCCAL
00403 #define CAL3_REG OSCCAL
00404 #define CAL4_REG OSCCAL
00405 #define CAL5_REG OSCCAL
00406 #define CAL6_REG OSCCAL
00407 #define CAL7_REG OSCCAL
00408
00409
00410 #define TCNT1L0_REG TCNT1L
00411 #define TCNT1L1_REG TCNT1L
00412 #define TCNT1L2_REG TCNT1L
00413 #define TCNT1L3_REG TCNT1L
00414 #define TCNT1L4_REG TCNT1L
00415 #define TCNT1L5_REG TCNT1L
00416 #define TCNT1L6_REG TCNT1L
00417 #define TCNT1L7_REG TCNT1L
00418
00419
00420 #define PORTB0_REG PORTB
00421 #define PORTB1_REG PORTB
00422 #define PORTB2_REG PORTB
00423 #define PORTB3_REG PORTB
00424 #define PORTB4_REG PORTB
00425 #define PORTB5_REG PORTB
00426 #define PORTB6_REG PORTB
00427 #define PORTB7_REG PORTB
00428
00429
00430 #define ADCL0_REG ADCL
00431 #define ADCL1_REG ADCL
00432 #define ADCL2_REG ADCL
00433 #define ADCL3_REG ADCL
00434 #define ADCL4_REG ADCL
00435 #define ADCL5_REG ADCL
00436 #define ADCL6_REG ADCL
00437 #define ADCL7_REG ADCL
00438
00439
00440 #define SE_REG SMCR
00441 #define SM0_REG SMCR
00442 #define SM1_REG SMCR
00443
00444
00445 #define TCNT1H0_REG TCNT1H
00446 #define TCNT1H1_REG TCNT1H
00447 #define TCNT1H2_REG TCNT1H
00448 #define TCNT1H3_REG TCNT1H
00449 #define TCNT1H4_REG TCNT1H
00450 #define TCNT1H5_REG TCNT1H
00451 #define TCNT1H6_REG TCNT1H
00452 #define TCNT1H7_REG TCNT1H
00453
00454
00455 #define PORTC0_REG PORTC
00456 #define PORTC1_REG PORTC
00457 #define PORTC2_REG PORTC
00458 #define PORTC3_REG PORTC
00459 #define PORTC4_REG PORTC
00460 #define PORTC5_REG PORTC
00461 #define PORTC6_REG PORTC
00462 #define PORTC7_REG PORTC
00463
00464
00465 #define ADCH0_REG ADCH
00466 #define ADCH1_REG ADCH
00467 #define ADCH2_REG ADCH
00468 #define ADCH3_REG ADCH
00469 #define ADCH4_REG ADCH
00470 #define ADCH5_REG ADCH
00471 #define ADCH6_REG ADCH
00472 #define ADCH7_REG ADCH
00473
00474
00475 #define TWIHS_REG TWHSR
00476
00477
00478 #define TWIE_REG TWCR
00479 #define TWEN_REG TWCR
00480 #define TWWC_REG TWCR
00481 #define TWSTO_REG TWCR
00482 #define TWSTA_REG TWCR
00483 #define TWEA_REG TWCR
00484 #define TWINT_REG TWCR
00485
00486
00487 #define TCNT0_0_REG TCNT0
00488 #define TCNT0_1_REG TCNT0
00489 #define TCNT0_2_REG TCNT0
00490 #define TCNT0_3_REG TCNT0
00491 #define TCNT0_4_REG TCNT0
00492 #define TCNT0_5_REG TCNT0
00493 #define TCNT0_6_REG TCNT0
00494 #define TCNT0_7_REG TCNT0
00495
00496
00497 #define PCIE0_REG PCICR
00498 #define PCIE1_REG PCICR
00499 #define PCIE2_REG PCICR
00500 #define PCIE3_REG PCICR
00501
00502
00503 #define TWGCE_REG TWAR
00504 #define TWA0_REG TWAR
00505 #define TWA1_REG TWAR
00506 #define TWA2_REG TWAR
00507 #define TWA3_REG TWAR
00508 #define TWA4_REG TWAR
00509 #define TWA5_REG TWAR
00510 #define TWA6_REG TWAR
00511
00512
00513 #define GPIOR00_REG GPIOR0
00514 #define GPIOR01_REG GPIOR0
00515 #define GPIOR02_REG GPIOR0
00516 #define GPIOR03_REG GPIOR0
00517 #define GPIOR04_REG GPIOR0
00518 #define GPIOR05_REG GPIOR0
00519 #define GPIOR06_REG GPIOR0
00520 #define GPIOR07_REG GPIOR0
00521
00522
00523 #define EEAR0_REG EEARL
00524 #define EEAR1_REG EEARL
00525 #define EEAR2_REG EEARL
00526 #define EEAR3_REG EEARL
00527 #define EEAR4_REG EEARL
00528 #define EEAR5_REG EEARL
00529 #define EEAR6_REG EEARL
00530 #define EEAR7_REG EEARL
00531
00532
00533 #define TOIE0_REG TIMSK0
00534 #define OCIE0A_REG TIMSK0
00535 #define OCIE0B_REG TIMSK0
00536
00537
00538 #define TOIE1_REG TIMSK1
00539 #define OCIE1A_REG TIMSK1
00540 #define OCIE1B_REG TIMSK1
00541 #define ICIE1_REG TIMSK1
00542
00543
00544 #define CS00_REG TCCR0A
00545 #define CS01_REG TCCR0A
00546 #define CS02_REG TCCR0A
00547 #define CTC0_REG TCCR0A
00548
00549
00550 #define TWPS0_REG TWSR
00551 #define TWPS1_REG TWSR
00552 #define TWS3_REG TWSR
00553 #define TWS4_REG TWSR
00554 #define TWS5_REG TWSR
00555 #define TWS6_REG TWSR
00556 #define TWS7_REG TWSR
00557
00558
00559 #define GPIOR20_REG GPIOR2
00560 #define GPIOR21_REG GPIOR2
00561 #define GPIOR22_REG GPIOR2
00562 #define GPIOR23_REG GPIOR2
00563 #define GPIOR24_REG GPIOR2
00564 #define GPIOR25_REG GPIOR2
00565 #define GPIOR26_REG GPIOR2
00566 #define GPIOR27_REG GPIOR2
00567
00568
00569 #define PCINT0_REG PCMSK0
00570 #define PCINT1_REG PCMSK0
00571 #define PCINT2_REG PCMSK0
00572 #define PCINT3_REG PCMSK0
00573 #define PCINT4_REG PCMSK0
00574 #define PCINT5_REG PCMSK0
00575 #define PCINT6_REG PCMSK0
00576 #define PCINT7_REG PCMSK0
00577
00578
00579 #define PCINT8_REG PCMSK1
00580 #define PCINT9_REG PCMSK1
00581 #define PCINT10_REG PCMSK1
00582 #define PCINT11_REG PCMSK1
00583 #define PCINT12_REG PCMSK1
00584 #define PCINT13_REG PCMSK1
00585 #define PCINT14_REG PCMSK1
00586 #define PCINT15_REG PCMSK1
00587
00588
00589 #define PCINT16_REG PCMSK2
00590 #define PCINT17_REG PCMSK2
00591 #define PCINT18_REG PCMSK2
00592 #define PCINT19_REG PCMSK2
00593 #define PCINT20_REG PCMSK2
00594 #define PCINT21_REG PCMSK2
00595 #define PCINT22_REG PCMSK2
00596 #define PCINT23_REG PCMSK2
00597
00598
00599 #define PCINT24_REG PCMSK3
00600 #define PCINT25_REG PCMSK3
00601 #define PCINT26_REG PCMSK3
00602 #define PCINT27_REG PCMSK3
00603
00604
00605 #define PINC0_REG PINC
00606 #define PINC1_REG PINC
00607 #define PINC2_REG PINC
00608 #define PINC3_REG PINC
00609 #define PINC4_REG PINC
00610 #define PINC5_REG PINC
00611 #define PINC6_REG PINC
00612 #define PINC7_REG PINC
00613
00614
00615 #define DDC0_REG DDRC
00616 #define DDC1_REG DDRC
00617 #define DDC2_REG DDRC
00618 #define DDC3_REG DDRC
00619 #define DDC4_REG DDRC
00620 #define DDC5_REG DDRC
00621 #define DDC6_REG DDRC
00622 #define DDC7_REG DDRC
00623
00624
00625 #define INTF0_REG EIFR
00626 #define INTF1_REG EIFR
00627
00628
00629 #define ISC00_REG EICRA
00630 #define ISC01_REG EICRA
00631 #define ISC10_REG EICRA
00632 #define ISC11_REG EICRA
00633
00634
00635 #define ADC0D_REG DIDR0
00636 #define ADC1D_REG DIDR0
00637 #define ADC2D_REG DIDR0
00638 #define ADC3D_REG DIDR0
00639 #define ADC4D_REG DIDR0
00640 #define ADC5D_REG DIDR0
00641 #define ADC6D_REG DIDR0
00642 #define ADC7D_REG DIDR0
00643
00644
00645 #define AIN0D_REG DIDR1
00646 #define AIN1D_REG DIDR1
00647 #define AREFD_REG DIDR1
00648
00649
00650 #define PUD_REG MCUCR
00651 #define BODSE_REG MCUCR
00652 #define BODS_REG MCUCR
00653
00654
00655 #define TWAM0_REG TWAMR
00656 #define TWAM1_REG TWAMR
00657 #define TWAM2_REG TWAMR
00658 #define TWAM3_REG TWAMR
00659 #define TWAM4_REG TWAMR
00660 #define TWAM5_REG TWAMR
00661 #define TWAM6_REG TWAMR
00662
00663
00664 #define DDD0_REG DDRD
00665 #define DDD1_REG DDRD
00666 #define DDD2_REG DDRD
00667 #define DDD3_REG DDRD
00668 #define DDD4_REG DDRD
00669 #define DDD5_REG DDRD
00670 #define DDD6_REG DDRD
00671 #define DDD7_REG DDRD
00672
00673
00674 #define OCR1AL0_REG OCR1AL
00675 #define OCR1AL1_REG OCR1AL
00676 #define OCR1AL2_REG OCR1AL
00677 #define OCR1AL3_REG OCR1AL
00678 #define OCR1AL4_REG OCR1AL
00679 #define OCR1AL5_REG OCR1AL
00680 #define OCR1AL6_REG OCR1AL
00681 #define OCR1AL7_REG OCR1AL
00682
00683
00684 #define TOV0_REG TIFR0
00685 #define OCF0A_REG TIFR0
00686 #define OCF0B_REG TIFR0
00687
00688
00689 #define PINB0_REG PINB
00690 #define PINB1_REG PINB
00691 #define PINB2_REG PINB
00692 #define PINB3_REG PINB
00693 #define PINB4_REG PINB
00694 #define PINB5_REG PINB
00695 #define PINB6_REG PINB
00696 #define PINB7_REG PINB
00697
00698
00699 #define PORTA0_REG PORTA
00700 #define PORTA1_REG PORTA
00701 #define PORTA2_REG PORTA
00702 #define PORTA3_REG PORTA
00703
00704
00705 #define PIND0_REG PIND
00706 #define PIND1_REG PIND
00707 #define PIND2_REG PIND
00708 #define PIND3_REG PIND
00709 #define PIND4_REG PIND
00710 #define PIND5_REG PIND
00711 #define PIND6_REG PIND
00712 #define PIND7_REG PIND
00713
00714
00715 #define PINA0_REG PINA
00716 #define PINA1_REG PINA
00717 #define PINA2_REG PINA
00718 #define PINA3_REG PINA
00719
00720
00721 #define SPR0_REG SPCR
00722 #define SPR1_REG SPCR
00723 #define CPHA_REG SPCR
00724 #define CPOL_REG SPCR
00725 #define MSTR_REG SPCR
00726 #define DORD_REG SPCR
00727 #define SPE_REG SPCR
00728 #define SPIE_REG SPCR
00729
00730
00731 #define TOV1_REG TIFR1
00732 #define OCF1A_REG TIFR1
00733 #define OCF1B_REG TIFR1
00734 #define ICF1_REG TIFR1
00735
00736
00737 #define ICP1_PORT PORTB
00738 #define ICP1_BIT 0
00739 #define CLKO_PORT PORTB
00740 #define CLKO_BIT 0
00741 #define PCINT0_PORT PORTB
00742 #define PCINT0_BIT 0
00743
00744 #define OC1A_PORT PORTB
00745 #define OC1A_BIT 1
00746 #define PCINT1_PORT PORTB
00747 #define PCINT1_BIT 1
00748
00749 #define SS_PORT PORTB
00750 #define SS_BIT 2
00751 #define OC1B_PORT PORTB
00752 #define OC1B_BIT 2
00753 #define PCINT2_PORT PORTB
00754 #define PCINT2_BIT 2
00755
00756 #define MOSI_PORT PORTB
00757 #define MOSI_BIT 3
00758 #define OC2A_PORT PORTB
00759 #define OC2A_BIT 3
00760 #define PCINT3_PORT PORTB
00761 #define PCINT3_BIT 3
00762
00763 #define MISO_PORT PORTB
00764 #define MISO_BIT 4
00765 #define PCINT4_PORT PORTB
00766 #define PCINT4_BIT 4
00767
00768 #define SCK_PORT PORTB
00769 #define SCK_BIT 5
00770 #define PCINT5_PORT PORTB
00771 #define PCINT5_BIT 5
00772
00773 #define XTAL1_PORT PORTB
00774 #define XTAL1_BIT 6
00775 #define TOSC1_PORT PORTB
00776 #define TOSC1_BIT 6
00777 #define PCINT6_PORT PORTB
00778 #define PCINT6_BIT 6
00779
00780 #define XTAL2_PORT PORTB
00781 #define XTAL2_BIT 7
00782 #define TOSC2_PORT PORTB
00783 #define TOSC2_BIT 7
00784 #define PCINT7_PORT PORTB
00785 #define PCINT7_BIT 7
00786
00787 #define ADC0_PORT PORTC
00788 #define ADC0_BIT 0
00789 #define PCINT8_PORT PORTC
00790 #define PCINT8_BIT 0
00791
00792 #define ADC1_PORT PORTC
00793 #define ADC1_BIT 1
00794 #define PCINT9_PORT PORTC
00795 #define PCINT9_BIT 1
00796
00797 #define ADC2_PORT PORTC
00798 #define ADC2_BIT 2
00799 #define PCINT10_PORT PORTC
00800 #define PCINT10_BIT 2
00801
00802 #define ADC3_PORT PORTC
00803 #define ADC3_BIT 3
00804 #define PCINT11_PORT PORTC
00805 #define PCINT11_BIT 3
00806
00807 #define ADC4_PORT PORTC
00808 #define ADC4_BIT 4
00809 #define SDA_PORT PORTC
00810 #define SDA_BIT 4
00811 #define PCINT12_PORT PORTC
00812 #define PCINT12_BIT 4
00813
00814 #define ADC5_PORT PORTC
00815 #define ADC5_BIT 5
00816 #define SCL_PORT PORTC
00817 #define SCL_BIT 5
00818 #define PCINT13_PORT PORTC
00819 #define PCINT13_BIT 5
00820
00821 #define RESET_PORT PORTC
00822 #define RESET_BIT 6
00823 #define PCINT14_PORT PORTC
00824 #define PCINT14_BIT 6
00825
00826 #define RXD_PORT PORTD
00827 #define RXD_BIT 0
00828 #define PCINT16_PORT PORTD
00829 #define PCINT16_BIT 0
00830
00831 #define TXD_PORT PORTD
00832 #define TXD_BIT 1
00833 #define PCINT17_PORT PORTD
00834 #define PCINT17_BIT 1
00835
00836 #define INT0_PORT PORTD
00837 #define INT0_BIT 2
00838 #define PCINT18_PORT PORTD
00839 #define PCINT18_BIT 2
00840
00841 #define PCINT19_PORT PORTD
00842 #define PCINT19_BIT 3
00843 #define OC2B_PORT PORTD
00844 #define OC2B_BIT 3
00845 #define INT1_PORT PORTD
00846 #define INT1_BIT 3
00847
00848 #define XCK_PORT PORTD
00849 #define XCK_BIT 4
00850 #define T0_PORT PORTD
00851 #define T0_BIT 4
00852 #define PCINT20_PORT PORTD
00853 #define PCINT20_BIT 4
00854
00855 #define T1_PORT PORTD
00856 #define T1_BIT 5
00857 #define OC0B_PORT PORTD
00858 #define OC0B_BIT 5
00859 #define PCINT21_PORT PORTD
00860 #define PCINT21_BIT 5
00861
00862 #define AIN0_PORT PORTD
00863 #define AIN0_BIT 6
00864 #define OC0A_PORT PORTD
00865 #define OC0A_BIT 6
00866 #define PCINT22_PORT PORTD
00867 #define PCINT22_BIT 6
00868
00869 #define AIN1_PORT PORTD
00870 #define AIN1_BIT 7
00871 #define PCINT23_PORT PORTD
00872 #define PCINT23_BIT 7
00873
00874