filmov
tv
Microcontroller Interrupts | Embedded System Project Series #17
Показать описание
I explain how microcontroller interrupts work by mixing theory with a code example. For fun, I let ChatGPT generate my code example. I also add some functions in my project that lets me add new GPIO interrupts more easily. Finally, I bump the clock speed of my microcontroller from 1 MHz to 16 MHz, not because I need to, but because I can.
0:00 Outline
3:12 Why polling is bad
9:40 How does interrupts work?
20:30 Interrupt advantages
21:38 ChatGPT code example
25:56 Interrupt vector table
28:47 Disassembly of ISR
30:36 GPIO interrupts in my project
38:25 PORT1 and PORT2 ISRs
42:30 Test my code
44:25 Fix my code
46:43 Commit 1
47:27 Increase clock speed
53:25 Commit 2
#embeddedsystems #cprogramming #microcontroller
🌍 Links related to this video
🌍 Find me here
👨💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.
0:00 Outline
3:12 Why polling is bad
9:40 How does interrupts work?
20:30 Interrupt advantages
21:38 ChatGPT code example
25:56 Interrupt vector table
28:47 Disassembly of ISR
30:36 GPIO interrupts in my project
38:25 PORT1 and PORT2 ISRs
42:30 Test my code
44:25 Fix my code
46:43 Commit 1
47:27 Increase clock speed
53:25 Commit 2
#embeddedsystems #cprogramming #microcontroller
🌍 Links related to this video
🌍 Find me here
👨💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.
Microcontroller Interrupts | Embedded System Project Series #17
Lecture 9: Interrupts
What is a microcontroller Interrupt?
Embedded Systems Minute: Interrupts
Interrupts in 8051 Microcontroller Explained: IE Register, IP Register, and Basics
Embedded Programming: Interrupts, Part 1
'Mastering Interrupts on Microcontrollers: Essential Tips for Real-Time Embedded Systems'
What is Interrupt Latency ?
Interrupts Embedded System Part1 | Interrupts in microcontrollers
Program, Interrupted - Computerphile
Interrupts in 8051 microcontroller
Write a UART driver (Polling and Interrupt) | Embedded System Project Series #18
Interrupts
Microcontroller interrupts on Arduino
Stop Wasting Time, Use AVR Timer Interrupts | Baremetal AVR Programming Tutorial
PIC18 Microcontroller Introduction to Interrupts
Embedded Systems - E15 - Interrupts
Lecture 11: External interrupts (EXTI)
Embedded Systems: Interrupts
Arduino Workshop - Chapter 5 - Interrupts
Mastering Timer Interrupts: Time Base, Capture, and Compare Interrupts in Embedded Systems
Interrupts in 8051 Microcontroller - Microcontrollers and Its Applications
Lecture 22 : 8051 Timer Interrupts Programming Using Embedded C
Interrupts In Embedded Systems #engineering #technology #automobile #electronics
Комментарии