This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get GPIO status?

hi

how to read a gpio status ? in order to know if it is high or low on stm32,the gpio(PA2) is configured as a extern interrupt and floating input,. it link to the data pin of infrared receiver.is the configuration and linking right? i want to via the GPIO to get the ir key code send from remote control.
Now when press Remote Control key, the interrupt happened,but the GPIO IDR is 0x000a601 always. how to fix it.

0