common/nucleo144/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
1
GPIO_PIN(PORT_G, 9)
ARDUINO_PIN_1
1
GPIO_PIN(PORT_G, 14)
ARDUINO_PIN_2
1
GPIO_PIN(PORT_F, 15)
ARDUINO_PIN_3
1
GPIO_PIN(PORT_E, 13)
ARDUINO_PIN_4
1
GPIO_PIN(PORT_F, 14)
ARDUINO_PIN_5
1
GPIO_PIN(PORT_E, 11)
ARDUINO_PIN_6
1
GPIO_PIN(PORT_E, 9)
ARDUINO_PIN_7
1
GPIO_PIN(PORT_F, 13)
ARDUINO_PIN_8
1
GPIO_PIN(PORT_F, 12)
ARDUINO_PIN_9
1
GPIO_PIN(PORT_D, 15)
ARDUINO_PIN_10
1
GPIO_PIN(PORT_D, 14)
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)
ARDUINO_PIN_14
1
GPIO_PIN(PORT_B, 8)
ARDUINO_PIN_15
1
GPIO_PIN(PORT_B, 9)
ARDUINO_PIN_A0
1
GPIO_PIN(PORT_A, 3)
ARDUINO_PIN_A1
1
GPIO_PIN(PORT_C, 0)
ARDUINO_PIN_A2
1
GPIO_PIN(PORT_C, 3)
ARDUINO_PIN_A3
1
GPIO_PIN(PORT_F, 3)
ARDUINO_PIN_A4
1
GPIO_PIN(PORT_F, 5)
ARDUINO_PIN_A5
1
GPIO_PIN(PORT_F, 10)
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)