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(PORT_D, 12) |
#define | ARDUINO_PIN_1 GPIO_PIN(PORT_D, 13) |
#define | ARDUINO_PIN_2 GPIO_PIN(PORT_D, 14) |
#define | ARDUINO_PIN_3 GPIO_PIN(PORT_D, 15) |
#define | ARDUINO_PIN_4 GPIO_PIN(PORT_A, 12) |
#define | ARDUINO_PIN_5 GPIO_PIN(PORT_A, 15) |
#define | ARDUINO_PIN_6 GPIO_PIN(PORT_B, 1) |
#define | ARDUINO_PIN_7 GPIO_PIN(PORT_B, 2) |
#define | ARDUINO_PIN_LAST 7 |
Mapping of Arduino analog pins to RIOT ADC lines | |
#define | ARDUINO_A0 ADC_LINE(0) |
#define | ARDUINO_A1 ADC_LINE(1) |
#define | ARDUINO_A2 ADC_LINE(2) |
#define | ARDUINO_A3 ADC_LINE(3) |
#define | ARDUINO_ANALOG_PIN_LAST 3 |
#define ARDUINO_A0 ADC_LINE(0) |
Definition at line 52 of file arduino_iomap.h.
#define ARDUINO_A1 ADC_LINE(1) |
Definition at line 53 of file arduino_iomap.h.
#define ARDUINO_A2 ADC_LINE(2) |
Definition at line 54 of file arduino_iomap.h.
#define ARDUINO_A3 ADC_LINE(3) |
Definition at line 55 of file arduino_iomap.h.
#define ARDUINO_ANALOG_PIN_LAST 3 |
Definition at line 57 of file arduino_iomap.h.
Definition at line 36 of file arduino_iomap.h.
Definition at line 37 of file arduino_iomap.h.
Definition at line 38 of file arduino_iomap.h.
Definition at line 39 of file arduino_iomap.h.
Definition at line 40 of file arduino_iomap.h.
Definition at line 41 of file arduino_iomap.h.
Definition at line 42 of file arduino_iomap.h.
Definition at line 43 of file arduino_iomap.h.
#define ARDUINO_PIN_LAST 7 |
Definition at line 45 of file arduino_iomap.h.