#52 Using low-power sleep modes in the "superloop" architecture

  Рет қаралды 763

Quantum Leaps, LLC

Quantum Leaps, LLC

Күн бұрын

Пікірлер: 4
@vadrif-draco
@vadrif-draco 19 сағат бұрын
As usual, great video Dr. Miro!
@jordibatlledelallave1930
@jordibatlledelallave1930 20 сағат бұрын
Hello Miro, I've got une question. If __WFI() stops CPU execution and it is called with interrupts disabled, why "enable_irq" is still executed afterwards? Is it because the CPU knows you have previously pressed the button when calling __WFI()?
@StateMachineCOM
@StateMachineCOM 19 сағат бұрын
@jordibatlledelallave As you say, WFI is called with interrupts still disabled (with PRIMASK), and the interrupts remain *disabled* after the CPU wakes up. You can see this at 23:35. So, you must enable interrupts because nothing else will! This is precisely the special property of the PRIMASK register I referenced at 27:30 (Joseph Yiu's book). PRIMASK disables interrupts but still allows the CPU to be WOKEN UP by an interrupt (see the "Wake-up conditions" in Yiu). --MMS
@jordibatlledelallave1930
@jordibatlledelallave1930 16 сағат бұрын
Oh, gotcha! Thanks for the clarification
Creating Your Own Programming Language - Computerphile
21:15
Computerphile
Рет қаралды 96 М.
Guest video: 5 Design and Coding Tips for QP-based Firmware
28:44
Quantum Leaps, LLC
Рет қаралды 771
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 132 МЛН
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
Linux Kernel 6.12 | This is Historic
1:07:22
Maple Circuit
Рет қаралды 67 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 78 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 403 М.
It’s time to move on from Agile Software Development (It's not working)
11:07
Guest video: TDD with cpputest-for-qpc
1:10:35
Quantum Leaps, LLC
Рет қаралды 1 М.
The Best Way to Learn Linux
9:45
Mental Outlaw
Рет қаралды 103 М.
#49 Embedded Unit Testing
23:46
Quantum Leaps, LLC
Рет қаралды 11 М.
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 132 МЛН