Tutorial on STM32 External Interrupts and callback funktions

preview_player
Показать описание
In this tutorial, we're going to learn about external interrupts and callback functions on the Nucleo -G491 board. We'll cover the basics of how interrupts and callbacks work, and how to use them in your code.

This tutorial is perfect for beginners who want to learn about external interrupts and callbacks on the STM32G491 board. If you're ready to start programming on the STM32G491 board, then this tutorial is for you!
Рекомендации по теме
Комментарии
Автор

I found this tutorial really helpful as I'm approaching CubeMX and CubeIDE for the first time. Thank you sir, from an Italian student!

simonedecrescenzo
Автор

Good point about keeping the code small in the callback function and showing how to do it.

mikejones-vdfg
Автор

Thanks for the video, would have loved to hear your thoughts on issues to do with debouncing on this type of implementation

ghettodredd
Автор

it is a very informative video---thanks

heronumberone-fk
Автор

You place the code in the wrong zone ....!

Zurenio
Автор

Hi how much is the time between interrupt(falling or rising edge) and function and how we can decrease this time ?
(Doing the function immediately after interrupt without any delay)

ltlt
Автор

hello sir your way of keeping code small in callback function is cool but i was thinking when controller return from performing function which should be in callback function, will it continue it working from previous stage where it was interrupted?

osamaqamar
Автор

Plz do an application with trust zone enable for stm32h5

abirthabti
Автор

Hi Peter, many thanks for your video tutorials, I learned a lot from them! I tried to write a similar Main.c source code but accidentally added the Callback routine to the "User code begin 2" section. That way the code didn't work. I noticed my fault and moved the Callback routine to "User code begin 4". Do you have any idea why the "4" section is more proper than the "2" section? Both sections are directly in Main() and not within sub-routines. And I assume a Callback routine is called only in case of an interrupt. So I don't see why the position of the Callback routines are important. Thank you!

Kriszu
Автор

Thanks but what is the role of function callback

ghaith