Subversion Repositories MK-Marlin

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 ron 1
/**
2
 * Marlin 3D Printer Firmware
3
 * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
 *
5
 * Based on Sprinter and grbl.
6
 * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
 *
8
 * This program is free software: you can redistribute it and/or modify
9
 * it under the terms of the GNU General Public License as published by
10
 * the Free Software Foundation, either version 3 of the License, or
11
 * (at your option) any later version.
12
 *
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 *
18
 * You should have received a copy of the GNU General Public License
19
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
 *
21
 */
22
 
23
/**
24
 * Pin mapping for the 1281 and 2561
25
 *
26
 *   Logical Pin: 38 39 40 41 42 43 44 45 16 10 11 12 06 07 08 09 30 31 32 33 34 35 36 37 17 18 19 20 21 22 23 24 00 01 13 05 02 03 14 15 46 47 48 49 50 51 52 53 25 26 27 28 29 04
27
 *   Port:        A0 A1 A2 A3 A4 A5 A6 A7 B0 B1 B2 B3 B4 B5 B6 B7 C0 C1 C2 C3 C4 C5 C6 C7 D0 D1 D2 D3 D4 D5 D6 D7 E0 E1 E2 E3 E4 E5 E6 E7 F0 F1 F2 F3 F4 F5 F6 F7 G0 G1 G2 G3 G4 G5
28
 */
29
 
30
#ifndef _FASTIO_1281
31
#define _FASTIO_1281
32
 
33
#include "fastio.h"
34
 
35
// change for your board
36
#define DEBUG_LED   DIO46
37
 
38
// UART
39
#define RXD         DIO0
40
#define TXD         DIO1
41
 
42
// SPI
43
#define SCK         DIO10
44
#define MISO        DIO12
45
#define MOSI        DIO11
46
#define SS          DIO16
47
 
48
// TWI (I2C)
49
#define SCL         DIO17
50
#define SDA         DIO18
51
 
52
// Timers and PWM
53
#define OC0A        DIO9
54
#define OC0B        DIO4
55
#define OC1A        DIO7
56
#define OC1B        DIO8
57
#define OC2A        DIO6
58
#define OC3A        DIO5
59
#define OC3B        DIO2
60
#define OC3C        DIO3
61
 
62
// Digital I/O
63
 
64
#define DIO0_PIN    PINE0
65
#define DIO0_RPORT  PINE
66
#define DIO0_WPORT  PORTE
67
#define DIO0_DDR    DDRE
68
#define DIO0_PWM    NULL
69
 
70
#define DIO1_PIN    PINE1
71
#define DIO1_RPORT  PINE
72
#define DIO1_WPORT  PORTE
73
#define DIO1_DDR    DDRE
74
#define DIO1_PWM    NULL
75
 
76
#define DIO2_PIN    PINE4
77
#define DIO2_RPORT  PINE
78
#define DIO2_WPORT  PORTE
79
#define DIO2_DDR    DDRE
80
#define DIO2_PWM    &OCR3BL
81
 
82
#define DIO3_PIN    PINE5
83
#define DIO3_RPORT  PINE
84
#define DIO3_WPORT  PORTE
85
#define DIO3_DDR    DDRE
86
#define DIO3_PWM    &OCR3CL
87
 
88
#define DIO4_PIN    PING5
89
#define DIO4_RPORT  PING
90
#define DIO4_WPORT  PORTG
91
#define DIO4_DDR    DDRG
92
#define DIO4_PWM    &OCR0B
93
 
94
#define DIO5_PIN    PINE3
95
#define DIO5_RPORT  PINE
96
#define DIO5_WPORT  PORTE
97
#define DIO5_DDR    DDRE
98
#define DIO5_PWM    &OCR3AL
99
 
100
#define DIO6_PIN    PINB4
101
#define DIO6_RPORT  PINB
102
#define DIO6_WPORT  PORTB
103
#define DIO6_DDR    DDRB
104
#define DIO6_PWM    &OCR2AL
105
 
106
#define DIO7_PIN    PINB5
107
#define DIO7_RPORT  PINB
108
#define DIO7_WPORT  PORTB
109
#define DIO7_DDR    DDRB
110
#define DIO7_PWM    &OCR1AL
111
 
112
#define DIO8_PIN    PINB6
113
#define DIO8_RPORT  PINB
114
#define DIO8_WPORT  PORTB
115
#define DIO8_DDR    DDRB
116
#define DIO8_PWM    &OCR1BL
117
 
118
#define DIO9_PIN    PINB7
119
#define DIO9_RPORT  PINB
120
#define DIO9_WPORT  PORTB
121
#define DIO9_DDR    DDRB
122
#define DIO9_PWM    &OCR0AL
123
 
124
#define DIO10_PIN   PINB1
125
#define DIO10_RPORT PINB
126
#define DIO10_WPORT PORTB
127
#define DIO10_DDR   DDRB
128
#define DIO10_PWM   NULL
129
 
130
#define DIO11_PIN   PINB2
131
#define DIO11_RPORT PINB
132
#define DIO11_WPORT PORTB
133
#define DIO11_DDR   DDRB
134
#define DIO11_PWM   NULL
135
 
136
#define DIO12_PIN   PINB3
137
#define DIO12_RPORT PINB
138
#define DIO12_WPORT PORTB
139
#define DIO12_DDR   DDRB
140
#define DIO12_PWM   NULL
141
 
142
#define DIO13_PIN   PINE2
143
#define DIO13_RPORT PINE
144
#define DIO13_WPORT PORTE
145
#define DIO13_DDR   DDRE
146
#define DIO13_PWM   NULL
147
 
148
#define DIO14_PIN   PINE6
149
#define DIO14_RPORT PINE
150
#define DIO14_WPORT PORTE
151
#define DIO14_DDR   DDRE
152
#define DIO14_PWM   NULL
153
 
154
#define DIO15_PIN   PINE7
155
#define DIO15_RPORT PINE
156
#define DIO15_WPORT PORTE
157
#define DIO15_DDR   DDRE
158
#define DIO15_PWM   NULL
159
 
160
#define DIO16_PIN   PINB0
161
#define DIO16_RPORT PINB
162
#define DIO16_WPORT PORTB
163
#define DIO16_DDR   DDRB
164
#define DIO16_PWM   NULL
165
 
166
#define DIO17_PIN   PIND0
167
#define DIO17_RPORT PIND
168
#define DIO17_WPORT PORTD
169
#define DIO17_DDR   DDRD
170
#define DIO17_PWM   NULL
171
 
172
#define DIO18_PIN   PIND1
173
#define DIO18_RPORT PIND
174
#define DIO18_WPORT PORTD
175
#define DIO18_DDR   DDRD
176
#define DIO18_PWM   NULL
177
 
178
#define DIO19_PIN   PIND2
179
#define DIO19_RPORT PIND
180
#define DIO19_WPORT PORTD
181
#define DIO19_DDR   DDRD
182
#define DIO19_PWM   NULL
183
 
184
#define DIO20_PIN   PIND3
185
#define DIO20_RPORT PIND
186
#define DIO20_WPORT PORTD
187
#define DIO20_DDR   DDRD
188
#define DIO20_PWM   NULL
189
 
190
#define DIO21_PIN   PIND4
191
#define DIO21_RPORT PIND
192
#define DIO21_WPORT PORTD
193
#define DIO21_DDR   DDRD
194
#define DIO21_PWM   NULL
195
 
196
#define DIO22_PIN   PIND5
197
#define DIO22_RPORT PIND
198
#define DIO22_WPORT PORTD
199
#define DIO22_DDR   DDRD
200
#define DIO22_PWM   NULL
201
 
202
#define DIO23_PIN   PIND6
203
#define DIO23_RPORT PIND
204
#define DIO23_WPORT PORTD
205
#define DIO23_DDR   DDRD
206
#define DIO23_PWM   NULL
207
 
208
#define DIO24_PIN   PIND7
209
#define DIO24_RPORT PIND
210
#define DIO24_WPORT PORTD
211
#define DIO24_DDR   DDRD
212
#define DIO24_PWM   NULL
213
 
214
#define DIO25_PIN   PING0
215
#define DIO25_RPORT PING
216
#define DIO25_WPORT PORTG
217
#define DIO25_DDR   DDRG
218
#define DIO25_PWM   NULL
219
 
220
#define DIO26_PIN   PING1
221
#define DIO26_RPORT PING
222
#define DIO26_WPORT PORTG
223
#define DIO26_DDR   DDRG
224
#define DIO26_PWM   NULL
225
 
226
#define DIO27_PIN   PING2
227
#define DIO27_RPORT PING
228
#define DIO27_WPORT PORTG
229
#define DIO27_DDR   DDRG
230
#define DIO27_PWM   NULL
231
 
232
#define DIO28_PIN   PING3
233
#define DIO28_RPORT PING
234
#define DIO28_WPORT PORTG
235
#define DIO28_DDR   DDRG
236
#define DIO28_PWM   NULL
237
 
238
#define DIO29_PIN   PING4
239
#define DIO29_RPORT PING
240
#define DIO29_WPORT PORTG
241
#define DIO29_DDR   DDRG
242
#define DIO29_PWM   NULL
243
 
244
#define DIO30_PIN   PINC0
245
#define DIO30_RPORT PINC
246
#define DIO30_WPORT PORTC
247
#define DIO30_DDR   DDRC
248
#define DIO30_PWM   NULL
249
 
250
#define DIO31_PIN   PINC1
251
#define DIO31_RPORT PINC
252
#define DIO31_WPORT PORTC
253
#define DIO31_DDR   DDRC
254
#define DIO31_PWM   NULL
255
 
256
#define DIO32_PIN   PINC2
257
#define DIO32_RPORT PINC
258
#define DIO32_WPORT PORTC
259
#define DIO32_DDR   DDRC
260
#define DIO32_PWM   NULL
261
 
262
#define DIO33_PIN   PINC3
263
#define DIO33_RPORT PINC
264
#define DIO33_WPORT PORTC
265
#define DIO33_DDR   DDRC
266
#define DIO33_PWM   NULL
267
 
268
#define DIO34_PIN   PINC4
269
#define DIO34_RPORT PINC
270
#define DIO34_WPORT PORTC
271
#define DIO34_DDR   DDRC
272
#define DIO34_PWM   NULL
273
 
274
#define DIO35_PIN   PINC5
275
#define DIO35_RPORT PINC
276
#define DIO35_WPORT PORTC
277
#define DIO35_DDR   DDRC
278
#define DIO35_PWM   NULL
279
 
280
#define DIO36_PIN   PINC6
281
#define DIO36_RPORT PINC
282
#define DIO36_WPORT PORTC
283
#define DIO36_DDR   DDRC
284
#define DIO36_PWM   NULL
285
 
286
#define DIO37_PIN   PINC7
287
#define DIO37_RPORT PINC
288
#define DIO37_WPORT PORTC
289
#define DIO37_DDR   DDRC
290
#define DIO37_PWM   NULL
291
 
292
#define DIO38_PIN   PINA0
293
#define DIO38_RPORT PINA
294
#define DIO38_WPORT PORTA
295
#define DIO38_DDR   DDRA
296
#define DIO38_PWM   NULL
297
 
298
#define DIO39_PIN   PINA1
299
#define DIO39_RPORT PINA
300
#define DIO39_WPORT PORTA
301
#define DIO39_DDR   DDRA
302
#define DIO39_PWM   NULL
303
 
304
#define DIO40_PIN   PINA2
305
#define DIO40_RPORT PINA
306
#define DIO40_WPORT PORTA
307
#define DIO40_DDR   DDRA
308
#define DIO40_PWM   NULL
309
 
310
#define DIO41_PIN   PINA3
311
#define DIO41_RPORT PINA
312
#define DIO41_WPORT PORTA
313
#define DIO41_DDR   DDRA
314
#define DIO41_PWM   NULL
315
 
316
#define DIO42_PIN   PINA4
317
#define DIO42_RPORT PINA
318
#define DIO42_WPORT PORTA
319
#define DIO42_DDR   DDRA
320
#define DIO42_PWM   NULL
321
 
322
#define DIO43_PIN   PINA5
323
#define DIO43_RPORT PINA
324
#define DIO43_WPORT PORTA
325
#define DIO43_DDR   DDRA
326
#define DIO43_PWM   NULL
327
 
328
#define DIO44_PIN   PINA6
329
#define DIO44_RPORT PINA
330
#define DIO44_WPORT PORTA
331
#define DIO44_DDR   DDRA
332
#define DIO44_PWM   NULL
333
 
334
#define DIO45_PIN   PINA7
335
#define DIO45_RPORT PINA
336
#define DIO45_WPORT PORTA
337
#define DIO45_DDR   DDRA
338
#define DIO45_PWM   NULL
339
 
340
#define DIO46_PIN   PINF0
341
#define DIO46_RPORT PINF
342
#define DIO46_WPORT PORTF
343
#define DIO46_DDR   DDRF
344
#define DIO46_PWM   NULL
345
 
346
#define DIO47_PIN   PINF1
347
#define DIO47_RPORT PINF
348
#define DIO47_WPORT PORTF
349
#define DIO47_DDR   DDRF
350
#define DIO47_PWM   NULL
351
 
352
#define DIO48_PIN   PINF2
353
#define DIO48_RPORT PINF
354
#define DIO48_WPORT PORTF
355
#define DIO48_DDR   DDRF
356
#define DIO48_PWM   NULL
357
 
358
#define DIO49_PIN   PINF3
359
#define DIO49_RPORT PINF
360
#define DIO49_WPORT PORTF
361
#define DIO49_DDR   DDRF
362
#define DIO49_PWM   NULL
363
 
364
#define DIO50_PIN   PINF4
365
#define DIO50_RPORT PINF
366
#define DIO50_WPORT PORTF
367
#define DIO50_DDR   DDRF
368
#define DIO50_PWM   NULL
369
 
370
#define DIO51_PIN   PINF5
371
#define DIO51_RPORT PINF
372
#define DIO51_WPORT PORTF
373
#define DIO51_DDR   DDRF
374
#define DIO51_PWM   NULL
375
 
376
#define DIO52_PIN   PINF6
377
#define DIO52_RPORT PINF
378
#define DIO52_WPORT PORTF
379
#define DIO52_DDR   DDRF
380
#define DIO52_PWM   NULL
381
 
382
#define DIO53_PIN   PINF7
383
#define DIO53_RPORT PINF
384
#define DIO53_WPORT PORTF
385
#define DIO53_DDR   DDRF
386
#define DIO53_PWM   NULL
387
 
388
#undef PA0
389
#define PA0_PIN     PINA0
390
#define PA0_RPORT   PINA
391
#define PA0_WPORT   PORTA
392
#define PA0_DDR     DDRA
393
#define PA0_PWM     NULL
394
#undef PA1
395
#define PA1_PIN     PINA1
396
#define PA1_RPORT   PINA
397
#define PA1_WPORT   PORTA
398
#define PA1_DDR     DDRA
399
#define PA1_PWM     NULL
400
#undef PA2
401
#define PA2_PIN     PINA2
402
#define PA2_RPORT   PINA
403
#define PA2_WPORT   PORTA
404
#define PA2_DDR     DDRA
405
#define PA2_PWM     NULL
406
#undef PA3
407
#define PA3_PIN     PINA3
408
#define PA3_RPORT   PINA
409
#define PA3_WPORT   PORTA
410
#define PA3_DDR     DDRA
411
#define PA3_PWM     NULL
412
#undef PA4
413
#define PA4_PIN     PINA4
414
#define PA4_RPORT   PINA
415
#define PA4_WPORT   PORTA
416
#define PA4_DDR     DDRA
417
#define PA4_PWM     NULL
418
#undef PA5
419
#define PA5_PIN     PINA5
420
#define PA5_RPORT   PINA
421
#define PA5_WPORT   PORTA
422
#define PA5_DDR     DDRA
423
#define PA5_PWM     NULL
424
#undef PA6
425
#define PA6_PIN     PINA6
426
#define PA6_RPORT   PINA
427
#define PA6_WPORT   PORTA
428
#define PA6_DDR     DDRA
429
#define PA6_PWM     NULL
430
#undef PA7
431
#define PA7_PIN     PINA7
432
#define PA7_RPORT   PINA
433
#define PA7_WPORT   PORTA
434
#define PA7_DDR     DDRA
435
#define PA7_PWM     NULL
436
 
437
#undef PB0
438
#define PB0_PIN     PINB0
439
#define PB0_RPORT   PINB
440
#define PB0_WPORT   PORTB
441
#define PB0_DDR     DDRB
442
#define PB0_PWM     NULL
443
#undef PB1
444
#define PB1_PIN     PINB1
445
#define PB1_RPORT   PINB
446
#define PB1_WPORT   PORTB
447
#define PB1_DDR     DDRB
448
#define PB1_PWM     NULL
449
#undef PB2
450
#define PB2_PIN     PINB2
451
#define PB2_RPORT   PINB
452
#define PB2_WPORT   PORTB
453
#define PB2_DDR     DDRB
454
#define PB2_PWM     NULL
455
#undef PB3
456
#define PB3_PIN     PINB3
457
#define PB3_RPORT   PINB
458
#define PB3_WPORT   PORTB
459
#define PB3_DDR     DDRB
460
#define PB3_PWM     NULL
461
#undef PB4
462
#define PB4_PIN     PINB4
463
#define PB4_RPORT   PINB
464
#define PB4_WPORT   PORTB
465
#define PB4_DDR     DDRB
466
#define PB4_PWM     &OCR2A
467
#undef PB5
468
#define PB5_PIN     PINB5
469
#define PB5_RPORT   PINB
470
#define PB5_WPORT   PORTB
471
#define PB5_DDR     DDRB
472
#define PB5_PWM     NULL
473
#undef PB6
474
#define PB6_PIN     PINB6
475
#define PB6_RPORT   PINB
476
#define PB6_WPORT   PORTB
477
#define PB6_DDR     DDRB
478
#define PB6_PWM     NULL
479
#undef PB7
480
#define PB7_PIN     PINB7
481
#define PB7_RPORT   PINB
482
#define PB7_WPORT   PORTB
483
#define PB7_DDR     DDRB
484
#define PB7_PWM     &OCR0A
485
 
486
#undef PC0
487
#define PC0_PIN     PINC0
488
#define PC0_RPORT   PINC
489
#define PC0_WPORT   PORTC
490
#define PC0_DDR     DDRC
491
#define PC0_PWM     NULL
492
#undef PC1
493
#define PC1_PIN     PINC1
494
#define PC1_RPORT   PINC
495
#define PC1_WPORT   PORTC
496
#define PC1_DDR     DDRC
497
#define PC1_PWM     NULL
498
#undef PC2
499
#define PC2_PIN     PINC2
500
#define PC2_RPORT   PINC
501
#define PC2_WPORT   PORTC
502
#define PC2_DDR     DDRC
503
#define PC2_PWM     NULL
504
#undef PC3
505
#define PC3_PIN     PINC3
506
#define PC3_RPORT   PINC
507
#define PC3_WPORT   PORTC
508
#define PC3_DDR     DDRC
509
#define PC3_PWM     NULL
510
#undef PC4
511
#define PC4_PIN     PINC4
512
#define PC4_RPORT   PINC
513
#define PC4_WPORT   PORTC
514
#define PC4_DDR     DDRC
515
#define PC4_PWM     NULL
516
#undef PC5
517
#define PC5_PIN     PINC5
518
#define PC5_RPORT   PINC
519
#define PC5_WPORT   PORTC
520
#define PC5_DDR     DDRC
521
#define PC5_PWM     NULL
522
#undef PC6
523
#define PC6_PIN     PINC6
524
#define PC6_RPORT   PINC
525
#define PC6_WPORT   PORTC
526
#define PC6_DDR     DDRC
527
#define PC6_PWM     NULL
528
#undef PC7
529
#define PC7_PIN     PINC7
530
#define PC7_RPORT   PINC
531
#define PC7_WPORT   PORTC
532
#define PC7_DDR     DDRC
533
#define PC7_PWM     NULL
534
 
535
#undef PD0
536
#define PD0_PIN     PIND0
537
#define PD0_RPORT   PIND
538
#define PD0_WPORT   PORTD
539
#define PD0_DDR     DDRD
540
#define PD0_PWM     NULL
541
#undef PD1
542
#define PD1_PIN     PIND1
543
#define PD1_RPORT   PIND
544
#define PD1_WPORT   PORTD
545
#define PD1_DDR     DDRD
546
#define PD1_PWM     NULL
547
#undef PD2
548
#define PD2_PIN     PIND2
549
#define PD2_RPORT   PIND
550
#define PD2_WPORT   PORTD
551
#define PD2_DDR     DDRD
552
#define PD2_PWM     NULL
553
#undef PD3
554
#define PD3_PIN     PIND3
555
#define PD3_RPORT   PIND
556
#define PD3_WPORT   PORTD
557
#define PD3_DDR     DDRD
558
#define PD3_PWM     NULL
559
#undef PD4
560
#define PD4_PIN     PIND4
561
#define PD4_RPORT   PIND
562
#define PD4_WPORT   PORTD
563
#define PD4_DDR     DDRD
564
#define PD4_PWM     NULL
565
#undef PD5
566
#define PD5_PIN     PIND5
567
#define PD5_RPORT   PIND
568
#define PD5_WPORT   PORTD
569
#define PD5_DDR     DDRD
570
#define PD5_PWM     NULL
571
#undef PD6
572
#define PD6_PIN     PIND6
573
#define PD6_RPORT   PIND
574
#define PD6_WPORT   PORTD
575
#define PD6_DDR     DDRD
576
#define PD6_PWM     NULL
577
#undef PD7
578
#define PD7_PIN     PIND7
579
#define PD7_RPORT   PIND
580
#define PD7_WPORT   PORTD
581
#define PD7_DDR     DDRD
582
#define PD7_PWM     NULL
583
 
584
#undef PE0
585
#define PE0_PIN     PINE0
586
#define PE0_RPORT   PINE
587
#define PE0_WPORT   PORTE
588
#define PE0_DDR     DDRE
589
#define PE0_PWM     NULL
590
#undef PE1
591
#define PE1_PIN     PINE1
592
#define PE1_RPORT   PINE
593
#define PE1_WPORT   PORTE
594
#define PE1_DDR     DDRE
595
#define PE1_PWM     NULL
596
#undef PE2
597
#define PE2_PIN     PINE2
598
#define PE2_RPORT   PINE
599
#define PE2_WPORT   PORTE
600
#define PE2_DDR     DDRE
601
#define PE2_PWM     NULL
602
#undef PE3
603
#define PE3_PIN     PINE3
604
#define PE3_RPORT   PINE
605
#define PE3_WPORT   PORTE
606
#define PE3_DDR     DDRE
607
#define PE3_PWM     &OCR3AL
608
#undef PE4
609
#define PE4_PIN     PINE4
610
#define PE4_RPORT   PINE
611
#define PE4_WPORT   PORTE
612
#define PE4_DDR     DDRE
613
#define PE4_PWM     &OCR3BL
614
#undef PE5
615
#define PE5_PIN     PINE5
616
#define PE5_RPORT   PINE
617
#define PE5_WPORT   PORTE
618
#define PE5_DDR     DDRE
619
#define PE5_PWM     &OCR3CL
620
#undef PE6
621
#define PE6_PIN     PINE6
622
#define PE6_RPORT   PINE
623
#define PE6_WPORT   PORTE
624
#define PE6_DDR     DDRE
625
#define PE6_PWM     NULL
626
#undef PE7
627
#define PE7_PIN     PINE7
628
#define PE7_RPORT   PINE
629
#define PE7_WPORT   PORTE
630
#define PE7_DDR     DDRE
631
#define PE7_PWM     NULL
632
 
633
#undef PF0
634
#define PF0_PIN     PINF0
635
#define PF0_RPORT   PINF
636
#define PF0_WPORT   PORTF
637
#define PF0_DDR     DDRF
638
#define PF0_PWM     NULL
639
#undef PF1
640
#define PF1_PIN     PINF1
641
#define PF1_RPORT   PINF
642
#define PF1_WPORT   PORTF
643
#define PF1_DDR     DDRF
644
#define PF1_PWM     NULL
645
#undef PF2
646
#define PF2_PIN     PINF2
647
#define PF2_RPORT   PINF
648
#define PF2_WPORT   PORTF
649
#define PF2_DDR     DDRF
650
#define PF2_PWM     NULL
651
#undef PF3
652
#define PF3_PIN     PINF3
653
#define PF3_RPORT   PINF
654
#define PF3_WPORT   PORTF
655
#define PF3_DDR     DDRF
656
#define PF3_PWM     NULL
657
#undef PF4
658
#define PF4_PIN     PINF4
659
#define PF4_RPORT   PINF
660
#define PF4_WPORT   PORTF
661
#define PF4_DDR     DDRF
662
#define PF4_PWM     NULL
663
#undef PF5
664
#define PF5_PIN     PINF5
665
#define PF5_RPORT   PINF
666
#define PF5_WPORT   PORTF
667
#define PF5_DDR     DDRF
668
#define PF5_PWM     NULL
669
#undef PF6
670
#define PF6_PIN     PINF6
671
#define PF6_RPORT   PINF
672
#define PF6_WPORT   PORTF
673
#define PF6_DDR     DDRF
674
#define PF6_PWM     NULL
675
#undef PF7
676
#define PF7_PIN     PINF7
677
#define PF7_RPORT   PINF
678
#define PF7_WPORT   PORTF
679
#define PF7_DDR     DDRF
680
#define PF7_PWM     NULL
681
 
682
#undef PG0
683
#define PG0_PIN     PING0
684
#define PG0_RPORT   PING
685
#define PG0_WPORT   PORTG
686
#define PG0_DDR     DDRG
687
#define PG0_PWM     NULL
688
#undef PG1
689
#define PG1_PIN     PING1
690
#define PG1_RPORT   PING
691
#define PG1_WPORT   PORTG
692
#define PG1_DDR     DDRG
693
#define PG1_PWM     NULL
694
#undef PG2
695
#define PG2_PIN     PING2
696
#define PG2_RPORT   PING
697
#define PG2_WPORT   PORTG
698
#define PG2_DDR     DDRG
699
#define PG2_PWM     NULL
700
#undef PG3
701
#define PG3_PIN     PING3
702
#define PG3_RPORT   PING
703
#define PG3_WPORT   PORTG
704
#define PG3_DDR     DDRG
705
#define PG3_PWM     NULL
706
#undef PG4
707
#define PG4_PIN     PING4
708
#define PG4_RPORT   PING
709
#define PG4_WPORT   PORTG
710
#define PG4_DDR     DDRG
711
#define PG4_PWM     NULL
712
#undef PG5
713
#define PG5_PIN     PING5
714
#define PG5_RPORT   PING
715
#define PG5_WPORT   PORTG
716
#define PG5_DDR     DDRG
717
#define PG5_PWM     &OCR0B
718
 
719
#endif // _FASTIO_1281