23 #ifndef ARDUINO_BOARD_PINS_H
24 #define ARDUINO_BOARD_PINS_H
26 #include "arduino_iomap.h"
46 #define ARDUINO_PIN_LAST
49 #if !defined(ARDUINO_LED) && !defined(DOXYGEN)
50 #define ARDUINO_LED (13)
53 #ifndef ARDUINO_PIN_LAST
54 # error "ARDUINO_PIN_LAST undefined"
80 #elif ARDUINO_PIN_LAST > 0
85 #elif ARDUINO_PIN_LAST > 1
90 #elif ARDUINO_PIN_LAST > 2
95 #elif ARDUINO_PIN_LAST > 3
100 #elif ARDUINO_PIN_LAST > 4
105 #elif ARDUINO_PIN_LAST > 5
110 #elif ARDUINO_PIN_LAST > 6
115 #elif ARDUINO_PIN_LAST > 7
120 #elif ARDUINO_PIN_LAST > 8
125 #elif ARDUINO_PIN_LAST > 9
128 #ifdef ARDUINO_PIN_10
130 #elif ARDUINO_PIN_LAST > 10
133 #ifdef ARDUINO_PIN_11
135 #elif ARDUINO_PIN_LAST > 11
138 #ifdef ARDUINO_PIN_12
140 #elif ARDUINO_PIN_LAST > 12
143 #ifdef ARDUINO_PIN_13
145 #elif ARDUINO_PIN_LAST > 13
148 #ifdef ARDUINO_PIN_14
150 #elif ARDUINO_PIN_LAST > 14
153 #ifdef ARDUINO_PIN_15
155 #elif ARDUINO_PIN_LAST > 15
158 #ifdef ARDUINO_PIN_16
160 #elif ARDUINO_PIN_LAST > 16
163 #ifdef ARDUINO_PIN_17
165 #elif ARDUINO_PIN_LAST > 17
168 #ifdef ARDUINO_PIN_18
170 #elif ARDUINO_PIN_LAST > 18
173 #ifdef ARDUINO_PIN_19
175 #elif ARDUINO_PIN_LAST > 19
178 #ifdef ARDUINO_PIN_20
180 #elif ARDUINO_PIN_LAST > 20
183 #ifdef ARDUINO_PIN_21
185 #elif ARDUINO_PIN_LAST > 21
188 #ifdef ARDUINO_PIN_22
190 #elif ARDUINO_PIN_LAST > 22
193 #ifdef ARDUINO_PIN_23
195 #elif ARDUINO_PIN_LAST > 23
198 #ifdef ARDUINO_PIN_24
200 #elif ARDUINO_PIN_LAST > 24
203 #ifdef ARDUINO_PIN_25
205 #elif ARDUINO_PIN_LAST > 25
208 #ifdef ARDUINO_PIN_26
210 #elif ARDUINO_PIN_LAST > 26
213 #ifdef ARDUINO_PIN_27
215 #elif ARDUINO_PIN_LAST > 27
218 #ifdef ARDUINO_PIN_28
220 #elif ARDUINO_PIN_LAST > 28
223 #ifdef ARDUINO_PIN_29
225 #elif ARDUINO_PIN_LAST > 29
228 #ifdef ARDUINO_PIN_30
230 #elif ARDUINO_PIN_LAST > 30
233 #ifdef ARDUINO_PIN_31
235 #elif ARDUINO_PIN_LAST > 31
238 #ifdef ARDUINO_PIN_32
240 #elif ARDUINO_PIN_LAST > 32
243 #ifdef ARDUINO_PIN_33
245 #elif ARDUINO_PIN_LAST > 33
248 #ifdef ARDUINO_PIN_34
250 #elif ARDUINO_PIN_LAST > 34
253 #ifdef ARDUINO_PIN_35
255 #elif ARDUINO_PIN_LAST > 35
258 #ifdef ARDUINO_PIN_36
260 #elif ARDUINO_PIN_LAST > 36
263 #ifdef ARDUINO_PIN_37
265 #elif ARDUINO_PIN_LAST > 37
268 #ifdef ARDUINO_PIN_38
270 #elif ARDUINO_PIN_LAST > 38
273 #ifdef ARDUINO_PIN_39
275 #elif ARDUINO_PIN_LAST > 39
278 #ifdef ARDUINO_PIN_40
280 #elif ARDUINO_PIN_LAST > 40
283 #ifdef ARDUINO_PIN_41
285 #elif ARDUINO_PIN_LAST > 41
288 #ifdef ARDUINO_PIN_42
290 #elif ARDUINO_PIN_LAST > 42
293 #ifdef ARDUINO_PIN_43
295 #elif ARDUINO_PIN_LAST > 43
298 #ifdef ARDUINO_PIN_44
300 #elif ARDUINO_PIN_LAST > 44
303 #ifdef ARDUINO_PIN_45
305 #elif ARDUINO_PIN_LAST > 45
308 #ifdef ARDUINO_PIN_46
310 #elif ARDUINO_PIN_LAST > 46
313 #ifdef ARDUINO_PIN_47
315 #elif ARDUINO_PIN_LAST > 47
318 #ifdef ARDUINO_PIN_48
320 #elif ARDUINO_PIN_LAST > 48
323 #ifdef ARDUINO_PIN_49
325 #elif ARDUINO_PIN_LAST > 49
328 #ifdef ARDUINO_PIN_50
330 #elif ARDUINO_PIN_LAST > 50
333 #ifdef ARDUINO_PIN_51
335 #elif ARDUINO_PIN_LAST > 51
338 #ifdef ARDUINO_PIN_52
340 #elif ARDUINO_PIN_LAST > 52
343 #ifdef ARDUINO_PIN_53
345 #elif ARDUINO_PIN_LAST > 53
348 #ifdef ARDUINO_PIN_54
350 #elif ARDUINO_PIN_LAST > 54
353 #ifdef ARDUINO_PIN_55
355 #elif ARDUINO_PIN_LAST > 55
358 #ifdef ARDUINO_PIN_56
360 #elif ARDUINO_PIN_LAST > 56
363 #ifdef ARDUINO_PIN_57
365 #elif ARDUINO_PIN_LAST > 57
368 #ifdef ARDUINO_PIN_58
370 #elif ARDUINO_PIN_LAST > 58
373 #ifdef ARDUINO_PIN_59
375 #elif ARDUINO_PIN_LAST > 59
378 #ifdef ARDUINO_PIN_60
380 #elif ARDUINO_PIN_LAST > 60
383 #ifdef ARDUINO_PIN_61
385 #elif ARDUINO_PIN_LAST > 61
388 #ifdef ARDUINO_PIN_62
390 #elif ARDUINO_PIN_LAST > 62
393 #ifdef ARDUINO_PIN_63
395 #elif ARDUINO_PIN_LAST > 63
398 #ifdef ARDUINO_PIN_64
400 #elif ARDUINO_PIN_LAST > 64
403 #ifdef ARDUINO_PIN_65
405 #elif ARDUINO_PIN_LAST > 65
408 #ifdef ARDUINO_PIN_66
410 #elif ARDUINO_PIN_LAST > 66
413 #ifdef ARDUINO_PIN_67
415 #elif ARDUINO_PIN_LAST > 67
418 #ifdef ARDUINO_PIN_68
420 #elif ARDUINO_PIN_LAST > 68
423 #ifdef ARDUINO_PIN_69
425 #elif ARDUINO_PIN_LAST > 69
static const gpio_t arduino_pinmap[]
Look-up table for the Arduino's digital pins:
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
Low-level GPIO peripheral driver interface definitions.
#define ARDUINO_PIN_22
D22 (SPI MISO)
#define ARDUINO_PIN_27
SPI2_MOSI from MCU.
#define ARDUINO_PIN_26
SPI2_MISO from MCU.
#define ARDUINO_PIN_28
Unavailable;Suspended treatment.
#define ARDUINO_PIN_25
SPI2_NSS from MCU.