cancel
Showing results for 
Search instead for 
Did you mean: 

How to use same pin as gpio input and syswkup pin ?

SA.17
Associate III

I am using STM32L0

Configured PA.0 as syswkup pin in cubemx

But i want to use it as gpio input for a push button while running the microcontroller and send it to standby mode.

And while in sleep ,want to use same button to wakeit up

Is it possible ?

How to do it ?

0 REPLIES 0