Embedded Microcontroller Interfacing pp 49-65 | Cite as
C Programming for Silabs C8051F020 Microcontroller
Introduction
This chapter introduces the KeilTM C compiler for the SiLab C8051F020 board. We assume some familiarity with the C programming language to the level covered by most introductory courses in the C language.
Experienced C programmers, who have little experience with the C8051F020 architecture, should become familiar with the system. The differences in programming the C8051F020 in C, compared to a standard C program, are almost all related to architectural issues. These explanations will be very useful with an understanding of the C8051F020 chip.
The KeilTM C compiler provided with the SiLab C8051F020 board does not come with a floating point library and so the floating point variables and functions should not be used. However if floating point variables are required, a full license for the KeilTM C compiler can be used.
Keywords
Memory Location Code Block Memory Model Register Bank Internal MemoryPreview
Unable to display preview. Download preview PDF.