Tagged: interrupts

HAL Library 26- Power Voltage Detector (PVD) for STM32Fxxx 1

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 Read more about new HAL libraries Features Detect voltage rise or drop with interrupt

STM32F4 External interrupts tutorial 122

STM32F4 External interrupts tutorial

Each STM32F4 device has 23 external interrupt or event sources. They are split into 2 sections. First interrupt section is for external pins (P0 to P15) on each port, and other section is for other events, like RTC interrupt, Ethernet interrupt, USB interrupt and so on. October 1, 2014: Added external interrupts library. GPIO as Interrupt Interrupt lines I will show now how to configure GPIO pin to be an interrupt and how to handle it in your code with...

All STM32F4 libraries 123

All STM32F4 libraries

Because there is a lot of libraries I have done, I will make a table with all of my libraries at one place. When new library will be created, it will be posted here. These libraries work on both Discovery boards, if not, it will be specified. Actually, libraries should work on STM32F4xx series of microcontrollers if they have peripherals that are need for library. All STM32F4xx MCUs don’t have everything inside. 🙂 Libraries are tested on my 4 STM32F4...