25 #include "arduino_iomap.h"
45 #define ARDUINO_PIN_LAST
48 #if !defined(ARDUINO_LED) && !defined(DOXYGEN)
49 #define ARDUINO_LED (13)
52 #ifndef ARDUINO_PIN_LAST
53 # error "ARDUINO_PIN_LAST undefined"
79 #elif ARDUINO_PIN_LAST > 0
84 #elif ARDUINO_PIN_LAST > 1
89 #elif ARDUINO_PIN_LAST > 2
94 #elif ARDUINO_PIN_LAST > 3
99 #elif ARDUINO_PIN_LAST > 4
104 #elif ARDUINO_PIN_LAST > 5
109 #elif ARDUINO_PIN_LAST > 6
114 #elif ARDUINO_PIN_LAST > 7
119 #elif ARDUINO_PIN_LAST > 8
124 #elif ARDUINO_PIN_LAST > 9
127 #ifdef ARDUINO_PIN_10
129 #elif ARDUINO_PIN_LAST > 10
132 #ifdef ARDUINO_PIN_11
134 #elif ARDUINO_PIN_LAST > 11
137 #ifdef ARDUINO_PIN_12
139 #elif ARDUINO_PIN_LAST > 12
142 #ifdef ARDUINO_PIN_13
144 #elif ARDUINO_PIN_LAST > 13
147 #ifdef ARDUINO_PIN_14
149 #elif ARDUINO_PIN_LAST > 14
152 #ifdef ARDUINO_PIN_15
154 #elif ARDUINO_PIN_LAST > 15
157 #ifdef ARDUINO_PIN_16
159 #elif ARDUINO_PIN_LAST > 16
162 #ifdef ARDUINO_PIN_17
164 #elif ARDUINO_PIN_LAST > 17
167 #ifdef ARDUINO_PIN_18
169 #elif ARDUINO_PIN_LAST > 18
172 #ifdef ARDUINO_PIN_19
174 #elif ARDUINO_PIN_LAST > 19
177 #ifdef ARDUINO_PIN_20
179 #elif ARDUINO_PIN_LAST > 20
182 #ifdef ARDUINO_PIN_21
184 #elif ARDUINO_PIN_LAST > 21
187 #ifdef ARDUINO_PIN_22
189 #elif ARDUINO_PIN_LAST > 22
192 #ifdef ARDUINO_PIN_23
194 #elif ARDUINO_PIN_LAST > 23
197 #ifdef ARDUINO_PIN_24
199 #elif ARDUINO_PIN_LAST > 24
202 #ifdef ARDUINO_PIN_25
204 #elif ARDUINO_PIN_LAST > 25
207 #ifdef ARDUINO_PIN_26
209 #elif ARDUINO_PIN_LAST > 26
212 #ifdef ARDUINO_PIN_27
214 #elif ARDUINO_PIN_LAST > 27
217 #ifdef ARDUINO_PIN_28
219 #elif ARDUINO_PIN_LAST > 28
222 #ifdef ARDUINO_PIN_29
224 #elif ARDUINO_PIN_LAST > 29
227 #ifdef ARDUINO_PIN_30
229 #elif ARDUINO_PIN_LAST > 30
232 #ifdef ARDUINO_PIN_31
234 #elif ARDUINO_PIN_LAST > 31
237 #ifdef ARDUINO_PIN_32
239 #elif ARDUINO_PIN_LAST > 32
242 #ifdef ARDUINO_PIN_33
244 #elif ARDUINO_PIN_LAST > 33
247 #ifdef ARDUINO_PIN_34
249 #elif ARDUINO_PIN_LAST > 34
252 #ifdef ARDUINO_PIN_35
254 #elif ARDUINO_PIN_LAST > 35
257 #ifdef ARDUINO_PIN_36
259 #elif ARDUINO_PIN_LAST > 36
262 #ifdef ARDUINO_PIN_37
264 #elif ARDUINO_PIN_LAST > 37
267 #ifdef ARDUINO_PIN_38
269 #elif ARDUINO_PIN_LAST > 38
272 #ifdef ARDUINO_PIN_39
274 #elif ARDUINO_PIN_LAST > 39
277 #ifdef ARDUINO_PIN_40
279 #elif ARDUINO_PIN_LAST > 40
282 #ifdef ARDUINO_PIN_41
284 #elif ARDUINO_PIN_LAST > 41
287 #ifdef ARDUINO_PIN_42
289 #elif ARDUINO_PIN_LAST > 42
292 #ifdef ARDUINO_PIN_43
294 #elif ARDUINO_PIN_LAST > 43
297 #ifdef ARDUINO_PIN_44
299 #elif ARDUINO_PIN_LAST > 44
302 #ifdef ARDUINO_PIN_45
304 #elif ARDUINO_PIN_LAST > 45
307 #ifdef ARDUINO_PIN_46
309 #elif ARDUINO_PIN_LAST > 46
312 #ifdef ARDUINO_PIN_47
314 #elif ARDUINO_PIN_LAST > 47
317 #ifdef ARDUINO_PIN_48
319 #elif ARDUINO_PIN_LAST > 48
322 #ifdef ARDUINO_PIN_49
324 #elif ARDUINO_PIN_LAST > 49
327 #ifdef ARDUINO_PIN_50
329 #elif ARDUINO_PIN_LAST > 50
332 #ifdef ARDUINO_PIN_51
334 #elif ARDUINO_PIN_LAST > 51
337 #ifdef ARDUINO_PIN_52
339 #elif ARDUINO_PIN_LAST > 52
342 #ifdef ARDUINO_PIN_53
344 #elif ARDUINO_PIN_LAST > 53
347 #ifdef ARDUINO_PIN_54
349 #elif ARDUINO_PIN_LAST > 54
352 #ifdef ARDUINO_PIN_55
354 #elif ARDUINO_PIN_LAST > 55
357 #ifdef ARDUINO_PIN_56
359 #elif ARDUINO_PIN_LAST > 56
362 #ifdef ARDUINO_PIN_57
364 #elif ARDUINO_PIN_LAST > 57
367 #ifdef ARDUINO_PIN_58
369 #elif ARDUINO_PIN_LAST > 58
372 #ifdef ARDUINO_PIN_59
374 #elif ARDUINO_PIN_LAST > 59
377 #ifdef ARDUINO_PIN_60
379 #elif ARDUINO_PIN_LAST > 60
382 #ifdef ARDUINO_PIN_61
384 #elif ARDUINO_PIN_LAST > 61
387 #ifdef ARDUINO_PIN_62
389 #elif ARDUINO_PIN_LAST > 62
392 #ifdef ARDUINO_PIN_63
394 #elif ARDUINO_PIN_LAST > 63
397 #ifdef ARDUINO_PIN_64
399 #elif ARDUINO_PIN_LAST > 64
402 #ifdef ARDUINO_PIN_65
404 #elif ARDUINO_PIN_LAST > 65
407 #ifdef ARDUINO_PIN_66
409 #elif ARDUINO_PIN_LAST > 66
412 #ifdef ARDUINO_PIN_67
414 #elif ARDUINO_PIN_LAST > 67
417 #ifdef ARDUINO_PIN_68
419 #elif ARDUINO_PIN_LAST > 68
422 #ifdef ARDUINO_PIN_69
424 #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.
#define ARDUINO_PIN_22
D22 (SPI MISO)
Low-level GPIO peripheral driver interface definitions.
#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.