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 М.
A const int is not a constant.
9:16
Jacob Sorber
Рет қаралды 66 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,6 МЛН
터키아이스크림🇹🇷🍦Turkish ice cream #funny #shorts
00:26
Byungari 병아리언니
Рет қаралды 29 МЛН
4. Assembly Language & Computer Architecture
1:17:35
MIT OpenCourseWare
Рет қаралды 697 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 285 М.
What are variadic functions (va_list) in C?
13:49
CodeVault
Рет қаралды 20 М.
Lecture 9: Interrupts
20:43
Embedded Systems and Deep Learning
Рет қаралды 261 М.
Lecture 15: Booting Process
9:35
Embedded Systems and Deep Learning
Рет қаралды 308 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2,1 МЛН
Why You Need to Learn C (as a Javascript Developer)
9:59
Code With Ryan
Рет қаралды 49 М.
How to use the volatile keyword in C?
6:48
Jacob Sorber
Рет қаралды 68 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 2,3 МЛН
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,5 МЛН
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2 МЛН