Solved
The HAL function to read the current output status of a GPIO
Posted on September 13, 2017 at 08:24
If I configure one GPIO pin to output. Is there a function in HAL to read back the current output status of it?
If I configure one GPIO pin to output. Is there a function in HAL to read back the current output status of it?
You can use HAL_GPIO_ReadPin().
Even if the pin is set to output the IDR register will give you its current output status.

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