Embedded system C programming guide