Is it possible to use the RTC alarm signal on the tamper pin in order to turn on a transistor or maybe hold that value in a D flip flop?
I've been doing a lot of research concerning Low power modes for the stm32 bluepill and I was wondering if i could power my board through VDD and execute a code through it and then right after going into sleep mode I would use a switch to only power the board through Vbat to save power , but the problem here is that the alarm wake up for the rtc won't be able to wake the board up from Vbat so my question is: is there a way to say store that rising edge from the rtc tamper pin and use it to switch back from Vbat to vdd?