C language embedded system programming practice