Processor pin assignments
Given an MCU (say an STM32H755ZIT) and a function (say SPI2_MOSI), how can you find which pins may be configured as SPI2_MOSI, short of clicking on every pin in the Pinout View of the MX Device Configuration Tools?
Given an MCU (say an STM32H755ZIT) and a function (say SPI2_MOSI), how can you find which pins may be configured as SPI2_MOSI, short of clicking on every pin in the Pinout View of the MX Device Configuration Tools?
The Datasheet has a table which tells you what alternate functions are mapped to each pin.
For the case of STM32H755ZIT:

https://www.st.com/resource/en/datasheet/stm32h755zi.pdf#page=61
For how to select each Alternate Function, see:

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.