TM STM32Fxxx HAL Libraries  v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle

PVD - Power Voltage Detector for STM32Fxxx - http://stm32f4-discovery.com/2015/09/hal-library-26-power-voltage-detector-pvd-for-stm32fxxx/. More...

Modules

 TM_PVD_Macros
 Library defines.
 
 TM_PVD_Typedefs
 Library Typedefs.
 
 TM_PVD_Functions
 Library Functions.
 

Detailed Description

PVD - Power Voltage Detector for STM32Fxxx - http://stm32f4-discovery.com/2015/09/hal-library-26-power-voltage-detector-pvd-for-stm32fxxx/.

PVD can detect voltage changes in your system. It features 8 different voltage levels between 2 and 3 volts. For detailed voltages, check device datasheet.

Library supports STM32F4xx, STM32F7xx and STM32F0xx devices. For F0xx series, not all devices are supported!

Change configuration

PVD uses interrupts for voltage detection. For this purpose, NVIC configuration must be used. I made default NVIC configuration, but if you need to change it, defines.h file is for you.

//NVIC preemption priority
#define PVD_NVIC_PRIORITY 0x04
//NVIC Subpriority
#define PVD_NVIC_SUBPRIORITY 0x00
Changelog
 Version 1.0
  - First release
Dependencies
 - STM32Fxxx HAL
 - defines.h
 - attributes.h