Writing to flash on power loss using PVD on STM32F103C8T6
Hello.
I am trying to save variables to flash when there is power loss that i detect using PVD. I got PVD to work correctly and trigger interrupt at 2.9V, but now i cannot find the right examples to see how to save the variables quickly to flash. I have about 5ms from 2.9V-2V to to save them, how many and how big(uint32_t?) do you think i can save. Those variables are my timer counters and some user defined settings. When the power is back, can the program start to run forward where it left off?
Thank you.
