common/nucleo64/include/arduino_pinmap.h¶
Mapping from MCU pins to Arduino pins.
You can use the defines in this file for simplified interaction with the Arduino specific pin numbers.
-
ARDUINO_PIN_0¶ Mapping of MCU pins to Arduino pins.
1
GPIO_PIN(PORT_A, 3)
-
ARDUINO_PIN_1¶ 1
GPIO_PIN(PORT_A, 2)
-
ARDUINO_PIN_2¶ 1
GPIO_PIN(PORT_A, 10)
-
ARDUINO_PIN_3¶ 1
GPIO_PIN(PORT_B, 3)
-
ARDUINO_PIN_4¶ 1
GPIO_PIN(PORT_B, 5)
-
ARDUINO_PIN_5¶ 1
GPIO_PIN(PORT_B, 4)
-
ARDUINO_PIN_6¶ 1
GPIO_PIN(PORT_B, 10)
-
ARDUINO_PIN_7¶ 1
GPIO_PIN(PORT_A, 8)
-
ARDUINO_PIN_8¶ 1
GPIO_PIN(PORT_A, 9)
-
ARDUINO_PIN_9¶ 1
GPIO_PIN(PORT_C, 7)
-
ARDUINO_PIN_10¶ 1
GPIO_PIN(PORT_B, 6)
-
ARDUINO_PIN_11¶ 1
GPIO_PIN(PORT_A, 7)
-
ARDUINO_PIN_12¶ 1
GPIO_PIN(PORT_A, 6)
-
ARDUINO_PIN_13¶ 1
GPIO_PIN(PORT_A, 5) /* on-board LED */
-
ARDUINO_PIN_14¶ 1
GPIO_PIN(PORT_B, 9)
-
ARDUINO_PIN_15¶ 1
GPIO_PIN(PORT_B, 8)
-
ARDUINO_PIN_A0¶ 1
GPIO_PIN(PORT_A, 0)
-
ARDUINO_PIN_A1¶ 1
GPIO_PIN(PORT_A, 1)
-
ARDUINO_PIN_A2¶ 1
GPIO_PIN(PORT_A, 4)
-
ARDUINO_PIN_A3¶ 1
GPIO_PIN(PORT_B, 0)
-
ARDUINO_PIN_A4¶ 1
GPIO_PIN(PORT_C, 1)
-
ARDUINO_PIN_A5¶ 1
GPIO_PIN(PORT_C, 0)
-
ARDUINO_A0¶ 1
ADC_LINE(0)
-
ARDUINO_A1¶ 1
ADC_LINE(1)
-
ARDUINO_A2¶ 1
ADC_LINE(2)
-
ARDUINO_A3¶ 1
ADC_LINE(3)
-
ARDUINO_A4¶ 1
ADC_LINE(4)
-
ARDUINO_A5¶ 1
ADC_LINE(5)