CHAPTER 2
PROGRAMMING MICROCONTROLLERS IN C
The C programming language is a general-purpose high-level programming
language that oers ecient and compact code and provides elements of
structured programming. Many control and monitoring-based applications
can be solved more eciently with C than with any other programming
language. C was originally available on mainframe computers, mini-
computers, and personal computers (PCs). The C programming language is
now available on most microcontrollers and microprocessors.
This book is not intended for teaching the C programming language. It is
assumed that the reader is familiar with programming in C. The aim of this
chapter is to show the special features of the C language when programming
microcontrollers. ...