PIC MCU TUTORIALS #15 - External Interrupts (INT) & Interrupts in MPLAB (Absolute Beginner)

  Рет қаралды 6,299

Microesque

Microesque

Күн бұрын

Пікірлер: 23
@Microesque
@Microesque 2 жыл бұрын
Extra Note: At 26:33 instead of creating a software flag variable, you can just disable the enable bit of that interrupt and directly check the flag bit in your code without any interrupts (this is exactly the reason why flag bits set regardless of their enable bits; it's so you can poll the interrupt flags). You only need to create software flags if you need a part of your code executed asap in the interrupt routine, while some parts can tolerate being delayed.
@dualxsurvival155
@dualxsurvival155 2 жыл бұрын
2 hours of sleep 12 hours of self taught half understood frankin code. Due today. You just saved 20% of my grade you beautiful bastard.
@rutexas7157
@rutexas7157 Жыл бұрын
You are awesome! Crystal clear explanation!
@pankajkumarpatel2586
@pankajkumarpatel2586 Ай бұрын
very good video and explain in technical with help of datasheet
@Microesque
@Microesque Ай бұрын
Thanks 👍
@alejandrobanolescobar6160
@alejandrobanolescobar6160 2 жыл бұрын
Thank You Man, a very useful vídeo
@Bretto311
@Bretto311 Жыл бұрын
Awesome video series, I hope you continue to make more PIC programming videos!
@Microesque
@Microesque Жыл бұрын
Thanks👍I'm currently uploading for the debugging series, and there's only one more video left. After that, I'll continue on with this one again.
@bartoszjozwicki4541
@bartoszjozwicki4541 Жыл бұрын
That is a very well explained tutorial, amazing work!
@Microesque
@Microesque Жыл бұрын
Thanks 👍
@smecmanca
@smecmanca Жыл бұрын
Great explanation. Saluti from Italia
@fifaham
@fifaham 6 ай бұрын
@27:07 I believe this will reduce power consumption and decrease the latency period for the ISR mechanism to respond to an external request - because of how IRQ works.
@Microesque
@Microesque 6 ай бұрын
That depends. Most of the time, efficiency won't change since you'll enter and leave the interrupt routines the same number of times. Power consumption would only reduce if you also utilized low-power modes along with interrupts. As an extra note: Jumping to the interrupt routine takes 3-4 instructions. Checking which interrupt routine has been fired also takes many instructions. If you're using two interrupt routines at the same time, that also adds a bunch of instructions since there's only one set of "shadow registers" for this microcontroller. So technically, depending on the application, interrupts may even reduce the efficiency.
@tedbastwock3810
@tedbastwock3810 8 ай бұрын
AMAZING content, thank you !!! 🙏
@Microesque
@Microesque 8 ай бұрын
Thanks 👍
@herrjonatan5436
@herrjonatan5436 2 жыл бұрын
THANKS MAN
@ellerycadel
@ellerycadel Жыл бұрын
Awesome tutorials! Do you have the config bits somewhere? I can't get the first example to work - it is not blinking at all.
@Microesque
@Microesque Жыл бұрын
Whoops... I should've included that too, my bad. It's the same config file I've been using in the series. I'll update the description shortly.
@ellerycadel
@ellerycadel Жыл бұрын
@@Microesque Thank you so much! All of these tutorials have been great! You are explaining everything so well and in great detail!!!
@Microesque
@Microesque Жыл бұрын
@@ellerycadel Thanks 👍
@badalnishant9203
@badalnishant9203 8 ай бұрын
What a nice explaination you have done, do you have any other courses on advanced emebdded system. pls share .
@Microesque
@Microesque 8 ай бұрын
Thanks 👍I don't have any courses or anything like that. This is kind of like a hobby I do for fun.
@kakashiroshi440
@kakashiroshi440 2 жыл бұрын
Great explanation, but dark theme made it hard to see.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Music Video)
2:50
RAAVA MUSIC
Рет қаралды 2 МЛН
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
PIC MCU DEBUGGING #1 - Basic info & Example (Absolute Beginner)
15:48
Program, Interrupted - Computerphile
6:41
Computerphile
Рет қаралды 132 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН