HAL Library 26- Power Voltage Detector (PVD) for STM32Fxxx
Power Voltage Detector (PVD) can be used to detect if power voltage is below or above selected voltage. It can be used for closing file using FATFS when detected voltage below treshold so you don’t break data on card or similar thing, sky is the limit here.
PVD allows you to select 8 voltages between 2 and 3 volts. For detailed voltages, check reference manual.
Library
Features
- Detect voltage rise or drop with interrupt
Dependencies
- HAL
- TM
- STM32Fxxx HAL
- defines.h configuration file
- attributes.h
Functions and enumerations
Full functions and enumerations can be found on PVD API site.
Example
Examples for receiver and transmitter with or without interrupt pin are available on my Github account, where you can take a look at main.c file for more informations.
Download all libraries below.
STM32 libraries based on STM32Fxxx HAL drivers.
Recent comments