#define STM32_PIN(PIN) ((PIN) & 15)
STM32_PIN extracts the STM32 pin within a port from an encoded PLATFORM_PIN_CONNECTION_t value.
In other words, STM32_PIN(STM32_PAD(x, y)) == y.
STM32_PAD, STM32_PORT