r/cprogramming • u/Cistrum • Jun 23 '26
Are These C Concepts Enough to Start Learning Embedded Programming?
Hi everyone.
I recently wanted to get into embedded programming.
I have basic C programming knowledge and after researching about it i have made a list of concepts I must learn thoroughly.
I also used chatgpt to get these concepts so idk if it's enough or if everything in there is accurate and essential.
core c :
data types,
integer promotion and type conversions,
operators and precedence,
control flow,
functions,
storage classes,
scope and lifetime
memory and pointers :
memory model,
stack vs heap,
arrays,
strings,
pointers,
pointer arithmetic,
void pointers,
function pointers,
dynamic memory allocation (malloc, calloc, realloc, free)
user-defined types :
structures,
nested structures,
unions,
bit fields,
enums,
typedef
qualifiers :
const,
static,
volatile,
restrict
bit manipulation :
bitwise operations,
memory alignment,
padding,
endianness
preprocessor and project organization :
header files,
preprocessor,
macros,
conditional compilation,
inline functions,
separate compilation,
linking
low-level programming :
memory-mapped i/o,
register manipulation,
interrupt basics
language behavior :
undefined behavior,
implementation-defined behavior.
I would like to know if I am missing anything or is this enough and would appreciate it if u shared any tips to learn these topics.
Btw I am currently using a book called C programming: A modern approach , to learn these topics and the list I have provided above is based on the topics of this book
View all comments
Show parent comment
2
u/HarderFasterHarder Jun 24 '26
Definitely once you get more into things... Spent a long time debugging bad measurements until I finally read the errata way to late. Turns out the sampling capacitor had a slow leak to Vcc due to a defect in the silicon and since we had an unfortunately high impedance on the analog signal, the error was bad. Like 10-20% off bad. But with that, I was able to correlate the measurement error to the time between samples and confirmed that was our problem. Solution was to elongate the sample time to allow for the cap voltage to stabilize before making the measurement.