Lecture 16. Volatile Variables

  Рет қаралды 14,679

Embedded Systems and Deep Learning

Embedded Systems and Deep Learning

4 жыл бұрын

This short video introduces the volatile qualifier in C.
Visit book website for more information: web.eece.maine.edu/~zhu/book

Пікірлер: 23
@saintikumar7421
@saintikumar7421 18 күн бұрын
Very good explanation
@neutrino9
@neutrino9 Жыл бұрын
Very nice explaination of volatile keyword !
@anthonyheak3479
@anthonyheak3479 4 ай бұрын
Great explaination, thank you!
@vincentgao8660
@vincentgao8660 2 жыл бұрын
smart explained, easy to understand
@U5k571
@U5k571 3 жыл бұрын
Perfect video.
@darkobul1
@darkobul1 4 жыл бұрын
Clear explanation
@Pappag93
@Pappag93 4 жыл бұрын
Great explanation of an important topic. 4:30 Would it be sufficient to use a GetFunction such as int GetFlag(void){return flag} which is called by main while(Getflag() == 0) instead of using volatile int flag? I'm not sure if the compiler could remove even a function call for optimization.
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
This is a really nice question. Did anyone give it a try?
@XDTuber
@XDTuber 4 жыл бұрын
Thank you for this
@coderhex1675
@coderhex1675 4 жыл бұрын
It is so clear!! By the way, i want to buy your book but i want epub because i have an e-reader. Do you consider to deploy as epub on amazon?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
Sorry. My publisher has no such plan yet.
@coderhex1675
@coderhex1675 4 жыл бұрын
@@embeddedsystemswitharmcort9051 understood. By the way, its nice to hear human voice because i am not native english speaker.
@k7iq
@k7iq 3 жыл бұрын
Yeah, PDF would be nice for me. I'd definitely buy it.
@James-ss9hi
@James-ss9hi 9 ай бұрын
great lecture
@sivaramarajusiv7826
@sivaramarajusiv7826 Жыл бұрын
Excellent
@brahmam3470
@brahmam3470 2 жыл бұрын
Thank you
@subhankarmahapatra5492
@subhankarmahapatra5492 4 жыл бұрын
Nicely Explained👏
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
Thank you 🙂
@manjunathys164
@manjunathys164 4 жыл бұрын
Which IDE is that you are using?
@embeddedsystemswitharmcort9051
@embeddedsystemswitharmcort9051 4 жыл бұрын
ARM Keil www2.keil.com/mdk5
@manjunathys164
@manjunathys164 4 жыл бұрын
@@embeddedsystemswitharmcort9051 Thank You
@hawkkim1974
@hawkkim1974 8 ай бұрын
good explanation but volatile keyword is such a BS that its meaning is ambiguity itself. In this demo, we should assume that it's compiler bug! Why optimize out a memory access when a) systick handler accesses the memory area b) they are advertising their product is a compiler for embedded system development. The compiler should know!
@ashishjog
@ashishjog 8 ай бұрын
Do not agree that Volatile is BS but my exact thought was that systick handler is already there in startup code, why compiler not aware about this?
Lecture 17. Race Conditions
9:50
Embedded Systems and Deep Learning
Рет қаралды 13 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
когда повзрослела // EVA mash
00:40
EVA mash
Рет қаралды 3,8 МЛН
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
Вечный ДВИГАТЕЛЬ!⚙️ #shorts
00:27
Гараж 54
Рет қаралды 14 МЛН
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 101 МЛН
A const int is not a constant.
9:16
Jacob Sorber
Рет қаралды 66 М.
Lecture 9: Interrupts
20:43
Embedded Systems and Deep Learning
Рет қаралды 261 М.
4. Assembly Language & Computer Architecture
1:17:35
MIT OpenCourseWare
Рет қаралды 697 М.
Oxford University Mathematician REACTS to "Animation vs. Geometry"
31:06
How to use the volatile keyword in C?
6:48
Jacob Sorber
Рет қаралды 68 М.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 308 М.
100+ Computer Science Concepts Explained
13:08
Fireship
Рет қаралды 2,4 МЛН
why is recursion bad?
3:08
Low Level Learning
Рет қаралды 238 М.
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
Why You Need to Learn C (as a Javascript Developer)
9:59
Code With Ryan
Рет қаралды 49 М.
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН
Что не так с яблоком Apple? #apple #macbook
0:38
Не шарю!
Рет қаралды 452 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2,5 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,5 МЛН