Tutorial CubeMX 4 External Interrupts EXTI

preview_player
Показать описание
Working with external interrupts in a project generated by STM32Cube is shown. Dealing with bouncing contacts by waiting before taking action is demonstrated. Passing variables from the stm32f4xx_it.c module to main.c module is also shown.
Once again Cube let the programmer concentrate more on the C part and less on initializations. However, the understanding of the hardware principles of the interrupts is highly recommendable.
Рекомендации по теме
Комментарии
Автор

I learned how to use a variable inside an interrupt. Thanks!

Scherbakov
Автор

hi, do you have a example the usb-host?

Ing_emms
Автор

YEAH AWESOME delay with main function congratulion!

redsddd
Автор

Hi Sever, How we can define polarity? Is the interrupt activated on both falling and rising edge?

sadeghmoradi
Автор

Sever, if you select the board from MCU selector section then you do not need to click "clear pinout" .

hyperloop
Автор

Where the value of delta_t is Increasing?

fseeletronicos
Автор

what is difference between in pre-emption priority and subpriority??
I wanted to make the priority of External interrupt higher than USART1 interrupt.How to do it?

shashankmore-yrb.tech.min
Автор

Hey sever. I really liked your video. all your videos are great. I tried interrupts with led. Can you help me in generating a pwm signal using an external interrupt activated using a button?

concernedIndianCitizen
Автор

For some reason the debouncing doesn't work for me. There is no delay, even if i set thefor loop to have a delay of 1 second.

slap_my_hand
Автор

how can an int variable get till 1, 000, 000?? Isnt the limit 65535? I tried with uint_32 but it didnt work lol

Tonikol