2020-02-24 05:51 PM
I have a capacitor connected and need an example of HAL function that read register which signal that VBAT pin if low level of voltage detected.
Thank you.
2020-02-24 09:21 PM
There is no simple signal for this, but STM32 which have VBAT pin usually have a connectable internal resistor divider from that pin to one ADC channel. Read the ADC chapter in Reference Manual (RM) of your STM32 model.
JW