Contents
Preface vii
Chapter 1 Microcomputer Systems 1
1.1 Introduction 1
1.2 Microcontroller Evolution 1
1.3 Microcontroller Architecture 2
1.4 8051 Family 3
1.5 Architecture of the 8051 Family 4
1.6 Pin Con®guration 4
1.7 Timer/Counters 10
1.8 Interrupt Control 11
1.9 Minimum Microcontroller Con®guration 12
1.10 Project Development 13
Chapter 2 Programming Microcontrollers in C 15
2.1 Data Types 16
2.1.1 bit 16
2.1.2 signed char/unsigned char 16
2.1.3 signed short/unsigned short 17
2.1.4 signed int/unsigned int 17
2.1.5 signed long/unsigned long 18
2.1.6 ¯oat 18
2.1.7 sbit 18
2.1.8 sfr 19
2.1.9 sfr16 19
2.2 Memory Models 19
2.3 Interrupts 20
2.4 Structure of a Microcontroller-based C Program 21
2.5 Program Description Language 22
2.5.1 START-END 22
2.5.2 Sequencing ...