ahull wrote:Nice! Good for checking battery health and pre-empting power watchdog switching us off. I'll need to file that in my cluttered mental archive for later.
The device features an embedded programmable voltage detector (PVD) that monitors the
VDD/VDDA power supply and compares it to the VPVD threshold. An interrupt can be
generated when VDD/VDDA drops below the VPVD threshold and/or when VDD/VDDA is
higher than the VPVD threshold. The interrupt service routine can then generate a warning
message and/or put the MCU into a safe state. The PVD is enabled by software.
ahull wrote:Good find. I'll have to have a play with that. I wonder how quickly it can react.
Users browsing this forum: No registered users and 2 guests