I have thi doubt since by reading the datasheet it is stated that (2.3.45 Port P data register (PTP)):
The SPI2 function takes precedence of the general purpose I/O function if the routed SPI2 is enabled.
When not used with the alternative functions, these pins can be used as general purpose I/O.
So, how have I to read this sentence? In my case I will enable SPI2 rerouting to port H, but I don't understand if that means that port P[4:7] will be freed to be used as GPIO..
Thanks in advance,