aboutsummaryrefslogtreecommitdiff
path: root/Marlin/src/HAL/STM32/pins_Xref.h
blob: 890e561860e2c5f8fc3639e7c837be83f7e30900 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
/**
 * Marlin 3D Printer Firmware
 * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
 *
 * Based on Sprinter and grbl.
 * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 */

//
// make a list of the Arduino pin numbers in the Port/Pin order
//
#ifdef PA0
  PIN_ADD(PA0)
#endif
#ifdef PA1
  PIN_ADD(PA1)
#endif
#ifdef PA2
  PIN_ADD(PA2)
#endif
#ifdef PA3
  PIN_ADD(PA3)
#endif
#ifdef PA4
  PIN_ADD(PA4)
#endif
#ifdef PA5
  PIN_ADD(PA5)
#endif
#ifdef PA6
  PIN_ADD(PA6)
#endif
#ifdef PA7
  PIN_ADD(PA7)
#endif
#ifdef PA8
  PIN_ADD(PA8)
#endif
#ifdef PA9
  PIN_ADD(PA9)
#endif
#ifdef PA10
  PIN_ADD(PA10)
#endif
#ifdef PA11
  PIN_ADD(PA11)
#endif
#ifdef PA12
  PIN_ADD(PA12)
#endif
#ifdef PA13
  PIN_ADD(PA13)
#endif
#ifdef PA14
  PIN_ADD(PA14)
#endif
#ifdef PA15
  PIN_ADD(PA15)
#endif

#ifdef PB0
  PIN_ADD(PB0)
#endif
#ifdef PB1
  PIN_ADD(PB1)
#endif
#ifdef PB2
  PIN_ADD(PB2)
#endif
#ifdef PB3
  PIN_ADD(PB3)
#endif
#ifdef PB4
  PIN_ADD(PB4)
#endif
#ifdef PB5
  PIN_ADD(PB5)
#endif
#ifdef PB6
  PIN_ADD(PB6)
#endif
#ifdef PB7
  PIN_ADD(PB7)
#endif
#ifdef PB8
  PIN_ADD(PB8)
#endif
#ifdef PB9
  PIN_ADD(PB9)
#endif
#ifdef PB10
  PIN_ADD(PB10)
#endif
#ifdef PB11
  PIN_ADD(PB11)
#endif
#ifdef PB12
  PIN_ADD(PB12)
#endif
#ifdef PB13
  PIN_ADD(PB13)
#endif
#ifdef PB14
  PIN_ADD(PB14)
#endif
#ifdef PB15
  PIN_ADD(PB15)
#endif

#ifdef PC0
  PIN_ADD(PC0)
#endif
#ifdef PC1
  PIN_ADD(PC1)
#endif
#ifdef PC2
  PIN_ADD(PC2)
#endif
#ifdef PC3
  PIN_ADD(PC3)
#endif
#ifdef PC4
  PIN_ADD(PC4)
#endif
#ifdef PC5
  PIN_ADD(PC5)
#endif
#ifdef PC6
  PIN_ADD(PC6)
#endif
#ifdef PC7
  PIN_ADD(PC7)
#endif
#ifdef PC8
  PIN_ADD(PC8)
#endif
#ifdef PC9
  PIN_ADD(PC9)
#endif
#ifdef PC10
  PIN_ADD(PC10)
#endif
#ifdef PC11
  PIN_ADD(PC11)
#endif
#ifdef PC12
  PIN_ADD(PC12)
#endif
#ifdef PC13
  PIN_ADD(PC13)
#endif
#ifdef PC14
  PIN_ADD(PC14)
#endif
#ifdef PC15
  PIN_ADD(PC15)
#endif

#ifdef PD0
  PIN_ADD(PD0)
#endif
#ifdef PD1
  PIN_ADD(PD1)
#endif
#ifdef PD2
  PIN_ADD(PD2)
#endif
#ifdef PD3
  PIN_ADD(PD3)
#endif
#ifdef PD4
  PIN_ADD(PD4)
#endif
#ifdef PD5
  PIN_ADD(PD5)
#endif
#ifdef PD6
  PIN_ADD(PD6)
#endif
#ifdef PD7
  PIN_ADD(PD7)
#endif
#ifdef PD8
  PIN_ADD(PD8)
#endif
#ifdef PD9
  PIN_ADD(PD9)
#endif
#ifdef PD10
  PIN_ADD(PD10)
#endif
#ifdef PD11
  PIN_ADD(PD11)
#endif
#ifdef PD12
  PIN_ADD(PD12)
#endif
#ifdef PD13
  PIN_ADD(PD13)
#endif
#ifdef PD14
  PIN_ADD(PD14)
#endif
#ifdef PD15
  PIN_ADD(PD15)
#endif

#ifdef PE0
  PIN_ADD(PE0)
#endif
#ifdef PE1
  PIN_ADD(PE1)
#endif
#ifdef PE2
  PIN_ADD(PE2)
#endif
#ifdef PE3
  PIN_ADD(PE3)
#endif
#ifdef PE4
  PIN_ADD(PE4)
#endif
#ifdef PE5
  PIN_ADD(PE5)
#endif
#ifdef PE6
  PIN_ADD(PE6)
#endif
#ifdef PE7
  PIN_ADD(PE7)
#endif
#ifdef PE8
  PIN_ADD(PE8)
#endif
#ifdef PE9
  PIN_ADD(PE9)
#endif
#ifdef PE10
  PIN_ADD(PE10)
#endif
#ifdef PE11
  PIN_ADD(PE11)
#endif
#ifdef PE12
  PIN_ADD(PE12)
#endif
#ifdef PE13
  PIN_ADD(PE13)
#endif
#ifdef PE14
  PIN_ADD(PE14)
#endif
#ifdef PE15
  PIN_ADD(PE15)
#endif

#ifdef PF0
  PIN_ADD(PF0)
#endif
#ifdef PF1
  PIN_ADD(PF1)
#endif
#ifdef PF2
  PIN_ADD(PF2)
#endif
#ifdef PF3
  PIN_ADD(PF3)
#endif
#ifdef PF4
  PIN_ADD(PF4)
#endif
#ifdef PF5
  PIN_ADD(PF5)
#endif
#ifdef PF6
  PIN_ADD(PF6)
#endif
#ifdef PF7
  PIN_ADD(PF7)
#endif
#ifdef PF8
  PIN_ADD(PF8)
#endif
#ifdef PF9
  PIN_ADD(PF9)
#endif
#ifdef PF10
  PIN_ADD(PF10)
#endif
#ifdef PF11
  PIN_ADD(PF11)
#endif
#ifdef PF12
  PIN_ADD(PF12)
#endif
#ifdef PF13
  PIN_ADD(PF13)
#endif
#ifdef PF14
  PIN_ADD(PF14)
#endif
#ifdef PF15
  PIN_ADD(PF15)
#endif

#ifdef PG0
  PIN_ADD(PG0)
#endif
#ifdef PG1
  PIN_ADD(PG1)
#endif
#ifdef PG2
  PIN_ADD(PG2)
#endif
#ifdef PG3
  PIN_ADD(PG3)
#endif
#ifdef PG4
  PIN_ADD(PG4)
#endif
#ifdef PG5
  PIN_ADD(PG5)
#endif
#ifdef PG6
  PIN_ADD(PG6)
#endif
#ifdef PG7
  PIN_ADD(PG7)
#endif
#ifdef PG8
  PIN_ADD(PG8)
#endif
#ifdef PG9
  PIN_ADD(PG9)
#endif
#ifdef PG10
  PIN_ADD(PG10)
#endif
#ifdef PG11
  PIN_ADD(PG11)
#endif
#ifdef PG12
  PIN_ADD(PG12)
#endif
#ifdef PG13
  PIN_ADD(PG13)
#endif
#ifdef PG14
  PIN_ADD(PG14)
#endif
#ifdef PG15
  PIN_ADD(PG15)
#endif

#ifdef PH0
  PIN_ADD(PH0)
#endif
#ifdef PH1
  PIN_ADD(PH1)
#endif
#ifdef PH2
  PIN_ADD(PH2)
#endif
#ifdef PH3
  PIN_ADD(PH3)
#endif
#ifdef PH4
  PIN_ADD(PH4)
#endif
#ifdef PH5
  PIN_ADD(PH5)
#endif
#ifdef PH6
  PIN_ADD(PH6)
#endif
#ifdef PH7
  PIN_ADD(PH7)
#endif
#ifdef PH8
  PIN_ADD(PH8)
#endif
#ifdef PH9
  PIN_ADD(PH9)
#endif
#ifdef PH10
  PIN_ADD(PH10)
#endif
#ifdef PH11
  PIN_ADD(PH11)
#endif
#ifdef PH12
  PIN_ADD(PH12)
#endif
#ifdef PH13
  PIN_ADD(PH13)
#endif
#ifdef PH14
  PIN_ADD(PH14)
#endif
#ifdef PH15
  PIN_ADD(PH15)
#endif

#ifdef PI0
  PIN_ADD(PI0)
#endif
#ifdef PI1
  PIN_ADD(PI1)
#endif
#ifdef PI2
  PIN_ADD(PI2)
#endif
#ifdef PI3
  PIN_ADD(PI3)
#endif
#ifdef PI4
  PIN_ADD(PI4)
#endif
#ifdef PI5
  PIN_ADD(PI5)
#endif
#ifdef PI6
  PIN_ADD(PI6)
#endif
#ifdef PI7
  PIN_ADD(PI7)
#endif
#ifdef PI8
  PIN_ADD(PI8)
#endif
#ifdef PI9
  PIN_ADD(PI9)
#endif
#ifdef PI10
  PIN_ADD(PI10)
#endif
#ifdef PI11
  PIN_ADD(PI11)
#endif
#ifdef PI12
  PIN_ADD(PI12)
#endif
#ifdef PI13
  PIN_ADD(PI13)
#endif
#ifdef PI14
  PIN_ADD(PI14)
#endif
#ifdef PI15
  PIN_ADD(PI15)
#endif

#ifdef PJ0
  PIN_ADD(PJ0)
#endif
#ifdef PJ1
  PIN_ADD(PJ1)
#endif
#ifdef PJ2
  PIN_ADD(PJ2)
#endif
#ifdef PJ3
  PIN_ADD(PJ3)
#endif
#ifdef PJ4
  PIN_ADD(PJ4)
#endif
#ifdef PJ5
  PIN_ADD(PJ5)
#endif
#ifdef PJ6
  PIN_ADD(PJ6)
#endif
#ifdef PJ7
  PIN_ADD(PJ7)
#endif
#ifdef PJ8
  PIN_ADD(PJ8)
#endif
#ifdef PJ9
  PIN_ADD(PJ9)
#endif
#ifdef PJ10
  PIN_ADD(PJ10)
#endif
#ifdef PJ11
  PIN_ADD(PJ11)
#endif
#ifdef PJ12
  PIN_ADD(PJ12)
#endif
#ifdef PJ13
  PIN_ADD(PJ13)
#endif
#ifdef PJ14
  PIN_ADD(PJ14)
#endif
#ifdef PJ15
  PIN_ADD(PJ15)
#endif

#ifdef PK0
  PIN_ADD(PK0)
#endif
#ifdef PK1
  PIN_ADD(PK1)
#endif
#ifdef PK2
  PIN_ADD(PK2)
#endif
#ifdef PK3
  PIN_ADD(PK3)
#endif
#ifdef PK4
  PIN_ADD(PK4)
#endif
#ifdef PK5
  PIN_ADD(PK5)
#endif
#ifdef PK6
  PIN_ADD(PK6)
#endif
#ifdef PK7
  PIN_ADD(PK7)
#endif
#ifdef PK8
  PIN_ADD(PK8)
#endif
#ifdef PK9
  PIN_ADD(PK9)
#endif
#ifdef PK10
  PIN_ADD(PK10)
#endif
#ifdef PK11
  PIN_ADD(PK11)
#endif
#ifdef PK12
  PIN_ADD(PK12)
#endif
#ifdef PK13
  PIN_ADD(PK13)
#endif
#ifdef PK14
  PIN_ADD(PK14)
#endif
#ifdef PK15
  PIN_ADD(PK15)
#endif

#ifdef PL0
  PIN_ADD(PL0)
#endif
#ifdef PL1
  PIN_ADD(PL1)
#endif
#ifdef PL2
  PIN_ADD(PL2)
#endif
#ifdef PL3
  PIN_ADD(PL3)
#endif
#ifdef PL4
  PIN_ADD(PL4)
#endif
#ifdef PL5
  PIN_ADD(PL5)
#endif
#ifdef PL6
  PIN_ADD(PL6)
#endif
#ifdef PL7
  PIN_ADD(PL7)
#endif
#ifdef PL8
  PIN_ADD(PL8)
#endif
#ifdef PL9
  PIN_ADD(PL9)
#endif
#ifdef PL10
  PIN_ADD(PL10)
#endif
#ifdef PL11
  PIN_ADD(PL11)
#endif
#ifdef PL12
  PIN_ADD(PL12)
#endif
#ifdef PL13
  PIN_ADD(PL13)
#endif
#ifdef PL14
  PIN_ADD(PL14)
#endif
#ifdef PL15
  PIN_ADD(PL15)
#endif