How to use PH_0 and PH_1 on STM32F207ZG as GPIO?


When I tried to use PH_0 and PH_1 as INPUT pins, readings from PH_0 and PH_1 stays low even if pulled up or connected to VCC. There seems to be something special about those two pins.

What is the proper way to use them in Mbed? The following lines of code doesn’t work.

DigitalIn myInput(PH_0);    // Stays low


My bad. I mixed up PIN labels with STM32F303.