Based on the introduction of the composition principle of 8051 microcontroller, this book combines the currently popular Keil C51 compiler and Proteus virtual simulation environment to explain the microcontroller C language programming and virtual simulation application technology. It comprehensively introduces the working principles of microcontroller interrupt system, timer/counter, serial port and other on-chip resources, microcontroller system expansion, DAC and ADC, keyboard and display interface technology, and details the C language programming of microcontroller on-chip and off-chip resources and its Proteus virtual simulation application method. It provides a large number of microcontroller C language program examples and Proteus principle circuit diagrams. All examples have been debugged on the Proteus software platform and can be run directly. Chapter 1 Basics of 8051 Single Chip Microcomputer· ... Memory Structure of 8051 MCU· ... Reset Signal and Reset Circuit· ... Instruction System· ... 1.7.2 Direct Addressing · ... 1.7.4 Register Indirect Addressing · ... Indexed Addressing· ... 1.7.7 Bit Addressing· ... 1.8.2 Arithmetic Operation Instructions· ... 1.8.4 Data Transfer Instructions 21 1.8.4 Control Transfer Instructions 23 1.8.5 Bit Operation Instructions· ... Chapter 2 Proteus Virtual Simulation· ...1 Integrated Environment ISIS · ... 2.4 Creating Assembly Language Source Code Simulation Files· ... Schematic Diagram and Keil Environment Online Simulation Debugging· ... Basic Syntax of C51 Programming· ... Data Type· ... Operators and Expressions· ... Expression Statements· ... Conditional Statements 56 3.2.4 Switch Statements 57 3.2.5 3.2.6 Loop Statements · ... Return Statement· ... 3.3.1 Function Definition and Call · ... 3.4.1 Memory Type and Compilation Mode 61 3.4.2 About bit, sbit, sfr, sfr16 data types· ...4 C51 Compiler’s Extensions to ANSI C Function Definitions 66 3.5 C51 Compiler’s Data Calling Protocol 69 3.5.1 3.5.2 Segment Management of Target Code · ... 3.6.1 Parameter passing rules · ... Examples of Mixed Programming of C51 and Assembly Language· ... Using the Extended Keyword “_at_” or Pointer to Define the Absolute Address of a Variable 80 3.7.2 Using Predefined Macros to Specify the Absolute Address of a Variable 81 3.8 Keil C51 Library Functions· ... 3.8.3 Input/Output Library Functions 83 3.8.4 String Processing Library Functions· ... Mathematical Calculation Library Functions· ... Basic Principles of Writing Application Programs in C51· ... Typical MCU Input and Output Circuits 92 4.2.2 MCU I/O Port Application Programming 94 4.3 Interrupt System· ... 4.3.3 Interrupt System Application Programming · ... Timer/Counter· ...1 Working Mode and Control of Timer/Counter 110 4.4.2 Timer Mode Application Programming 113 4.4.3 4.4.4 Using a Timer to Generate Music 121 4.5 Serial Port· ... Serial/Parallel Port Conversion Application Programming 128 4.5.3 MCU and PC Communication Application Programming 130 4.5.4 MCU to MCU Communication Application Programming· ... Chapter 5 System Expansion and Low Power Application· ... Program Memory Expansion · ... Parallel I/O Port Expansion 146 5.2.1 Line Select Method 146 5.2.2 5.2.3 Application Programming of 8155 and 8255 Parallel Interface Expansion Chips 149 5.3 Low Power Application of 8051 MCU· ... Power-down working mode· ... Chapter 6 Keyboard and Display Interface Application· ... 6.1.2 Single 74HC595 Driving Multi-Digit LED Digital Tubes · ... · ...2.1 Encoded Keyboard Interface· ... 8279 Programmable Keyboard/Display Chip Interface Technology· ... 8279 Data Input, Display Output and Command Format 184 6.3.3 8279 Interface Application Programming 189 6.4 Dot-matrix character LCD interface technology· ... 6.4.3 Direct Mode Interface Application Programming · ... 4-bit Data Bus Interface Application Programming· ... 12864 Dot Matrix Graphic LCD Display Module· ... T6963 Dot Matrix Graphic LCD Interface Technology· ... LCD Interface Application Programming 216 Chapter 7 Analog-to-Digital and Digital-to-Analog Conversion Interface Application 223 7.1 Main Technical Specifications of Converters· ... DAC0832 Interface Application Programming· ... Serial D/A Chip TLC5615 Interface Application Programming· ... Analog/Digital Converter ADC Interface Technology· ... ICL7135 Interface Application Programming· ...3 Serial A/D Chip TLC549 Interface Application Programming· ... Introduction to I2C Bus· ... I2C Bus Generic Driver · ... Application Programming of I2C Interface A/DD/A Conversion Chip PCF8591· ... Chapter 9 Proteus Simulation Design Examples· ... Functional Requirements· ... Software Programming· ... Functional Requirements· ... Software Programming· ... Functional Requirements· ... Software Programming· ... Functional Requirements· ... Software programming· ...1 Functional Requirements· ... Software Programming· ... Commonly used components in Proteus· ...
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore