“Recipes tell you nothing. Learning techniques is the key.”—Tom Colicchio
I have mentioned today specifically “How to learn C” . If you are looking only for C , then check Learn C Programming Practically
If you are exploring Embedded C and register level programming , continue reading this article.
Embedded C extensions were added in 2008 and I was using Embedded C/C++ since 1999. You may refer to WiKi link for more information about these extensions.
If you are in transition from Desktop C to Embedded C or even using some of the embedded c specifixc things in normal C , following tips can be helpful for you.
Verify the information given on web with real hardware
Volatile is one of the important data type qualifier in embedded C and one can expect this in interview.
It is basically used to switch off compiler optimization. Here is one wrong information I noticed on random search. If we believe on this , we can’t configure any control register and can’t put data on transmit register.
****************************************************************************************************

******************************************************************************************************
If you don’t know the background of author, make sure article is based on some specific architecture.
Someone commented in my linkedin post few days back with following information. If we take example of STM32 architecture , this is wrong information. It should be Stack, Heap, bss, initialized data, text or code section.
*********************************************************************************************************

*****************************************************************************************************
Another wrong information about reset. If you reset the cpu after initializing memory segments, what is the use of initialization. Irony is that , even after informing this to person who posted , still they didn’t correct this information.
Are you looking for Embedded C Practice?
Did you learn something interesting in C programming ? Submit your learning with similar example ..Highlight particular points or words with **
For example : uint8_t is just *typedef* of *unsigned char*
Follow on LinkedIn