Mapping from MCU pins to Arduino pins. More...
Mapping from MCU pins to Arduino pins.
You can use the defines in this file for simplified interaction with the Arduino specific pin numbers.
Definition in file arduino_iomap.h.
Go to the source code of this file.
Mapping of MCU pins to Arduino pins | |
#define | ARDUINO_PIN_0 GPIO_PIN(PA, 11) |
D0 (RX) | |
#define | ARDUINO_PIN_1 GPIO_PIN(PA, 10) |
D1 (TX) | |
#define | ARDUINO_PIN_5 GPIO_PIN(PA, 15) |
D5. | |
#define | ARDUINO_PIN_6 GPIO_PIN(PA, 20) |
D6. | |
#define | ARDUINO_PIN_9 GPIO_PIN(PA, 7) |
D9. | |
#define | ARDUINO_PIN_10 GPIO_PIN(PA, 18) |
D10. | |
#define | ARDUINO_PIN_11 GPIO_PIN(PA, 16) |
D11. | |
#define | ARDUINO_PIN_12 GPIO_PIN(PA, 19) |
D12. | |
#define | ARDUINO_PIN_13 GPIO_PIN(PA, 17) |
D13 (LED) | |
#define | ARDUINO_PIN_14 GPIO_PIN(PA, 2) |
D14 (A0) | |
#define | ARDUINO_PIN_15 GPIO_PIN(PB, 8) |
D15 (A1) | |
#define | ARDUINO_PIN_16 GPIO_PIN(PB, 9) |
D16 (A2) | |
#define | ARDUINO_PIN_17 GPIO_PIN(PA, 4) |
D17 (A3) | |
#define | ARDUINO_PIN_18 GPIO_PIN(PA, 5) |
D18 (A4) | |
#define | ARDUINO_PIN_19 GPIO_PIN(PB, 2) |
D19 (A5) | |
#define | ARDUINO_PIN_20 GPIO_PIN(PA, 22) |
D20 (I2C SDA) | |
#define | ARDUINO_PIN_21 GPIO_PIN(PA, 23) |
D21 (I2C SCL) | |
#define | ARDUINO_PIN_22 GPIO_PIN(PA, 12) |
D22 (SPI MISO) | |
#define | ARDUINO_PIN_23 GPIO_PIN(PB, 10) |
D23 (SPI MOSI) | |
#define | ARDUINO_PIN_24 GPIO_PIN(PB, 11) |
D24 (SPI SCK) | |
#define | ARDUINO_PIN_LAST 24 |
Aliases for analog pins | |
#define | ARDUINO_PIN_A0 ARDUINO_PIN_14 |
#define | ARDUINO_PIN_A1 ARDUINO_PIN_15 |
#define | ARDUINO_PIN_A2 ARDUINO_PIN_16 |
#define | ARDUINO_PIN_A3 ARDUINO_PIN_17 |
#define | ARDUINO_PIN_A4 ARDUINO_PIN_18 |
#define | ARDUINO_PIN_A5 ARDUINO_PIN_19 |
#define | ARDUINO_PIN_A7 ARDUINO_PIN_9 |
Mapping of Arduino analog pins to RIOT ADC lines | |
#define | ARDUINO_A0 ADC_LINE(0) |
ADC 0. | |
#define | ARDUINO_A1 ADC_LINE(2) |
ADC 1. | |
#define | ARDUINO_A2 ADC_LINE(3) |
ADC 2. | |
#define | ARDUINO_A3 ADC_LINE(4) |
ADC 3. | |
#define | ARDUINO_A4 ADC_LINE(5) |
ADC 4. | |
#define | ARDUINO_A5 ADC_LINE(10) |
ADC 5. | |
#define | ARDUINO_A7 ADC_LINE(7) |
ADC 7. | |
#define | ARDUINO_ANALOG_PIN_LAST 7 |
#define ARDUINO_A0 ADC_LINE(0) |
ADC 0.
Definition at line 91 of file arduino_iomap.h.
#define ARDUINO_A1 ADC_LINE(2) |
ADC 1.
Definition at line 92 of file arduino_iomap.h.
#define ARDUINO_A2 ADC_LINE(3) |
ADC 2.
Definition at line 93 of file arduino_iomap.h.
#define ARDUINO_A3 ADC_LINE(4) |
ADC 3.
Definition at line 94 of file arduino_iomap.h.
#define ARDUINO_A4 ADC_LINE(5) |
ADC 4.
Definition at line 95 of file arduino_iomap.h.
#define ARDUINO_A5 ADC_LINE(10) |
ADC 5.
Definition at line 96 of file arduino_iomap.h.
#define ARDUINO_A7 ADC_LINE(7) |
ADC 7.
Definition at line 97 of file arduino_iomap.h.
#define ARDUINO_ANALOG_PIN_LAST 7 |
Definition at line 99 of file arduino_iomap.h.
D0 (RX)
Definition at line 38 of file arduino_iomap.h.
D1 (TX)
Definition at line 39 of file arduino_iomap.h.
D10.
Definition at line 43 of file arduino_iomap.h.
D11.
Definition at line 44 of file arduino_iomap.h.
D12.
Definition at line 45 of file arduino_iomap.h.
D13 (LED)
Definition at line 46 of file arduino_iomap.h.
D14 (A0)
Definition at line 47 of file arduino_iomap.h.
D15 (A1)
Definition at line 48 of file arduino_iomap.h.
D16 (A2)
Definition at line 49 of file arduino_iomap.h.
D17 (A3)
Definition at line 50 of file arduino_iomap.h.
D18 (A4)
Definition at line 51 of file arduino_iomap.h.
D19 (A5)
Definition at line 52 of file arduino_iomap.h.
D20 (I2C SDA)
Definition at line 53 of file arduino_iomap.h.
D21 (I2C SCL)
Definition at line 54 of file arduino_iomap.h.
D22 (SPI MISO)
Definition at line 55 of file arduino_iomap.h.
D23 (SPI MOSI)
Definition at line 56 of file arduino_iomap.h.
D24 (SPI SCK)
Definition at line 57 of file arduino_iomap.h.
D5.
Definition at line 40 of file arduino_iomap.h.
D6.
Definition at line 41 of file arduino_iomap.h.
D9.
Definition at line 42 of file arduino_iomap.h.
#define ARDUINO_PIN_A0 ARDUINO_PIN_14 |
Definition at line 78 of file arduino_iomap.h.
#define ARDUINO_PIN_A1 ARDUINO_PIN_15 |
Definition at line 79 of file arduino_iomap.h.
#define ARDUINO_PIN_A2 ARDUINO_PIN_16 |
Definition at line 80 of file arduino_iomap.h.
#define ARDUINO_PIN_A3 ARDUINO_PIN_17 |
Definition at line 81 of file arduino_iomap.h.
#define ARDUINO_PIN_A4 ARDUINO_PIN_18 |
Definition at line 82 of file arduino_iomap.h.
#define ARDUINO_PIN_A5 ARDUINO_PIN_19 |
Definition at line 83 of file arduino_iomap.h.
#define ARDUINO_PIN_A7 ARDUINO_PIN_9 |
Definition at line 84 of file arduino_iomap.h.
#define ARDUINO_PIN_LAST 24 |
Definition at line 59 of file arduino_iomap.h.