Mapping from MCU pins to Arduino pins. More...
Go to the source code of this file.
Mapping of MCU pins to Arduino pins | |
#define | ARDUINO_PIN_0 GPIO2 |
Arduino pin 0. | |
#define | ARDUINO_PIN_1 GPIO3 |
Arduino pin 1. | |
#define | ARDUINO_PIN_2 GPIO4 |
Arduino pin 2. | |
#define | ARDUINO_PIN_3 GPIO5 |
Arduino pin 3. | |
#define | ARDUINO_PIN_4 GPIO6 |
Arduino pin 4 (I2C SDA) | |
#define | ARDUINO_PIN_5 GPIO7 |
Arduino pin 5 (I2C SCL) | |
#define | ARDUINO_PIN_6 GPIO21 |
Arduino pin 1 (TxD) | |
#define | ARDUINO_PIN_7 GPIO20 |
Arduino pin 0 (RxD) | |
#define | ARDUINO_PIN_8 GPIO8 |
Arduino pin 8 (SPI SCK) | |
#define | ARDUINO_PIN_9 GPIO9 |
Arduino pin 0 (SPI MISO) | |
#define | ARDUINO_PIN_10 GPIO10 |
Arduino pin 0 (SPI MOSI) | |
#define | ARDUINO_PIN_LAST 10 |
Aliases for analog pins | |
#define | ARDUINO_PIN_A0 ARDUINO_PIN_0 |
#define | ARDUINO_PIN_A1 ARDUINO_PIN_1 |
#define | ARDUINO_PIN_A2 ARDUINO_PIN_2 |
#define ARDUINO_PIN_0 GPIO2 |
Arduino pin 0.
Definition at line 33 of file arduino_iomap.h.
#define ARDUINO_PIN_1 GPIO3 |
Arduino pin 1.
Definition at line 34 of file arduino_iomap.h.
#define ARDUINO_PIN_10 GPIO10 |
Arduino pin 0 (SPI MOSI)
Definition at line 43 of file arduino_iomap.h.
#define ARDUINO_PIN_2 GPIO4 |
Arduino pin 2.
Definition at line 35 of file arduino_iomap.h.
#define ARDUINO_PIN_3 GPIO5 |
Arduino pin 3.
Definition at line 36 of file arduino_iomap.h.
#define ARDUINO_PIN_4 GPIO6 |
Arduino pin 4 (I2C SDA)
Definition at line 37 of file arduino_iomap.h.
#define ARDUINO_PIN_5 GPIO7 |
Arduino pin 5 (I2C SCL)
Definition at line 38 of file arduino_iomap.h.
#define ARDUINO_PIN_6 GPIO21 |
Arduino pin 1 (TxD)
Definition at line 39 of file arduino_iomap.h.
#define ARDUINO_PIN_7 GPIO20 |
Arduino pin 0 (RxD)
Definition at line 40 of file arduino_iomap.h.
#define ARDUINO_PIN_8 GPIO8 |
Arduino pin 8 (SPI SCK)
Definition at line 41 of file arduino_iomap.h.
#define ARDUINO_PIN_9 GPIO9 |
Arduino pin 0 (SPI MISO)
Definition at line 42 of file arduino_iomap.h.
#define ARDUINO_PIN_A0 ARDUINO_PIN_0 |
Definition at line 52 of file arduino_iomap.h.
#define ARDUINO_PIN_A1 ARDUINO_PIN_1 |
Definition at line 53 of file arduino_iomap.h.
#define ARDUINO_PIN_A2 ARDUINO_PIN_2 |
Definition at line 54 of file arduino_iomap.h.
#define ARDUINO_PIN_LAST 10 |
Definition at line 45 of file arduino_iomap.h.