《C8051单片机双语入门与进阶》, 一起学英文
《红色中国8051单片机双语入门与进阶》,要跟大家见面了!《C8051单片机双语入门与进阶》,要跟大家见面了!一起 学习 【英文+中文】终于!想感叹一句不容易,于我而言,仿佛有着十月怀胎般的艰辛,它凝结着许多人的心血与付出。感谢西安航空学院张文倩老师和明尼苏达州立大学曼卡托分校的Han-Way Huang教授,他们历经两年多的筹备与撰稿,为中国大陆学生量身定制了这本教材。此后,又经过一年的反复审校、修改、设计、加工,其中历经不少曲折,前前后后花了近三年时间。现在看来这一切都是值得的,也希望读者能够喜欢和受益。C8051单片机双语入门与进阶
书号:9787568056403定价:85.00元主编:张文倩〔美〕黄汉威(Han-Way Huang)本书以深圳宏晶公司的STC8A8K64S4A12单片机为例,介绍了C8051单片机的基本原理及进阶应用。全书共分9章,依次是:计算机和微控制器介绍,C语言编程,并行端口,时钟生成、中断及复位,定时器功能,通用异步收发传输器(UART),串行外设接口(SPI),I²C总线和模数转换器。本书推荐使用的软件开发工具是KeilμVision4(8051版本);书中使用的硬件可以很方便地在淘宝网等网站上买。向上滑动阅览ContentsChapter 1 Introduction to Computer and Microcontroller 11.1 Objectives 11.2 A Brief History of the Computer 11.2.1 Mainframe Computer 31.2.2 Minicomputer 41.2.3 Microcomputers 51.2.4 Supercomputers 61.3 Computer Hardware Organization 81.4 The Processor 91.4.1 The Arithmetic Logic Unit 91.4.2 Registers 111.4.3 The Control Unit 111.4.4 The Language Issue 121.5 The Microprocessor 131.6 Microcontroller 141.7 Embedded System 151.7.1 Characteristics of Embedded Systems 161.7.2 User Interfaces 161.8 Wireless Sensor Network (WSN) 171.9 Internet of Things (IoT) 181.10 Memory 191.10.1 Magnetic Memory 191.10.2 Optical Memory 201.10.3 Semiconductor Memory 201.11 Memory System Operation 241.11.1 Read Operation 251.11.2 Write Operation 261.12 Program Execution 261.12.1 The Program Counter Circuit 271.12.2 Starting Program Execution 281.12.3 Instruction Execution Process 291.13 Overview of the 8051 Microcontroller 291.14 Summary 311.15 Exercises 33Chapter 2 C Language Programming 342.1 Objectives 342.2 Introduction to C 342.3 Types, Operators, and Expressions 362.3.1 Data Types 372.3.2 Variable Declaration 372.3.3 Constants 372.3.4 Arithmetic Operators 382.3.5 Bitwise Operators 402.3.6 Relational and Logical Operators 412.3.7 Precedence of Operators 422.4 Control Flow 432.4.1 If Statement 432.4.2 If-Else Statement 432.4.3 Multiway Conditional Statement 442.4.4 Switch Statement 452.4.5 For-Loop Statement 462.4.6 While Statement 462.4.7 Do-While Statement 472.4.8 Goto Statement 472.5 Input and Output 482.6 Functions and Program Structure 502.6.1 Function Prototype 522.6.2 Writing a C Program with Multiple Functions 532.7 Pointers, Arrays, Structures, Unions, and Type Definition 542.7.1 Pointers and Addresses 542.7.2 Arrays 562.7.3 Pointers and Arrays 572.7.4 Passing Arrays to a Function 582.7.5 Initializing Arrays 592.7.6 Structures 602.7.7 Unions 622.7.8 The typedef Statement 632.7.9 Enumerated Data Types 652.8 Miscellaneous Items 662.8.1 Automatic/External/Static/Volatile 662.8.2 Scope Rules 672.8.3 Type Casting 682.8.4 Pointer to Functions 702.9 The C Preprocessor 712.9.1 The #define Statement 712.9.2 The ## Operator 742.9.3 The #include Statement 752.9.4 Conditional Compilation 762.10 Programming Style 772.10.1 General Guidelines to Comments 772.10.2 Program Documentation 782.10.3 Function Documentation 782.10.4 Code Appearance 792.10.5 Naming of Variables, Constants, and Functions 812.11 C8051 Memory Map 812.11.1 C8051 Program Memory 822.11.2 C8051 Data Memory 822.12 Accessing C8051 Peripheral Registers 832.12.1 Using Symbolic Names to Access Peripheral Registers 832.12.2 Using Symbolic Names to Access Bits 852.13 Hardware and Software Development Tools 882.13.1 Hardware Development Tools 882.13.2 Software Development Tools 902.14 Summary 902.15 Exercises 922.16 Lab Assignments 93Chapter 3 Parallel Port 943.1 Objectives 943.2 Introduction to I/O Port 943.3 STC8A8K64S4A12 I/O Ports 953.3.1 I/O Pin Operation Modes 953.3.2 Number of Ports 983.3.3 Port Pin Configuration 1003.4 Electrical Characteristics Compatibility Consideration for I/O Interfacing 1023.4.1 Voltage-Level Compatibility 1023.4.2 Current Drive Capability 1043.4.3 Timing Compatibility 1063.5 Simple I/O Devices 1073.5.1 Time Delay Issue 1073.5.2 Driving the Light-Emitting Diodes (LEDs) 1083.5.3 Driving Seven-Segment Displays 1103.5.4 Generating a Digital Waveform Using an I/O Pin 1133.5.5 Making a Sound Using an I/O Pin 1153.5.6 Interfacing with DIP Switches 1163.6 Interfacing a Parallel Port to a Keypad 1173.6.1 Keypad Scanning 1183.6.2 Keyboard Debouncing 1193.6.3 ASCII Code Lookup 1213.7 Liquid Crystal Displays (LCDs) 1223.7.1 The Structure of the HD44780 LCD Controller 1233.7.2 LCD Instructions 1253.7.3 LCD Instruction Deions 1273.7.4 Interfacing the HD44780 to the STC8A8K64SA12 1293.7.5 LCD Startup Sequence 1323.8 Interfacing with a Digital-to-Analog Converter (DAC) 1353.8.1 The AD7302 DAC 1363.8.2 Interfacing the AD7302 with the STC8A8K64S4A12 1373.9 Summary 1403.10 Exercises 1413.11 Lab Assignments 144Chapter 4 Clock Generation, Interrupts, and Resets 1464.1 Objectives 1464.2 Introduction to Clock Signal 1464.2.1 What Is a Clock Signal? 1464.2.2 Waveform of a Clock Signal 1474.2.3 Circuits for Generating Clock Signals 1474.2.4 Gating Clock Signals 1474.2.5 Multiplying and Scaling Clock Frequency 1474.3 The STC8A8K64S4A12’s Clock System 1484.3.1 Internal 24-MHz RC Oscillator 1484.3.2 External Crystal Oscillator 1494.3.3 Internal 32-KHz RC Oscillator 1494.4 Generating the System Clock 1504.5 Basic Concepts of Interrupts 1524.6 Benefits of Interrupts 1534.7 Enabling and Disabling Interrupts 1534.8 Prioritizing Multiple Pending Interrupts 1544.9 Servicing Interrupts 1544.10 Interrupt Vector 1554.11 Interrupt Nesting 1554.12 Resets 1564.13 STC8A8K64S4A12 Interrupt Model 1564.13.1 The Interrupt Sources of STC8A8K64S4A12 1574.13.2 The STC8A8K64S4A12 Interrupt Enabling 1574.13.3 The STC8A8K64S4A12 Interrupt Priority 1604.13.4 Interrupt Flags 1624.13.5 External I/O Pin Interrupts 1634.14 Writing Interrupt Service Routine 1644.15 The 8051 Reset 1684.15.1 The RST Pin Reset 1684.15.2 Power-On Reset 1684.15.3 Power-Failure Reset 1684.15.4 Watchdog Timer Reset 1694.15.5 Software Reset 1714.16 Summary 1714.17 Exercises 1734.18 Lab Assignments 174Chapter 5 Timer Functions 1765.1 Objectives 1765.2 Introduction to Microcontroller Timer System 1765.2.1 Using Timer Function to Create Time Delays 1775.2.2 Input Capture 1775.2.3 Output Compare 1795.2.4 Pulse Width Modulation (PWM) 1795.3 Introduction to STC8A8K64S4A12 Timer Functions 1805.4 Timer 0 and Timer 1 1825.5 Timer 2 1845.6 Timer 3/4 1855.7 Timer Applications 1865.7.1 Time Delay Creation 1865.7.2 Pulse Width Measurement 1905.7.3 Frequency Measurement 1925.7.4 Waveform Generation 1935.7.5 Siren Generation 1945.7.6 Playing a Song 1965.8 Programmable Counter Array (PCA) 2015.8.1 PCA Module Registers 2025.8.2 PCA Operation Mode 2045.8.3 Capture Mode 2045.8.4 16-bit Software Timer and High-Speed Output Modes 2075.8.5 Pulse Width Modulator Mode (PWM) 2135.9 DC Motor Control 2195.9.1 DC Motor Driver ICs 2205.9.2 Driving a DC Motor Using the L293D 2215.10 Summary 2235.11 Exercises 2245.12 Lab Assignments 225Chapter 6 Universal Asynchronous Receiver Transmitter (UART) 2286.1 Objectives 2286.2 Concepts of Serial I/O 2296.3 The RS-232 Standard 2306.3.1 TIA-232 Electrical Specification 2316.3.2 TIA-232 Functional Specification 2326.3.3 TIA-232 Mechanical Specification 2356.3.4 TIA-232 Procedural Specification 2366.3.5 Data Format 2396.3.6 UART Detectable Errors 2416.3.7 Null Modem Connection 2416.4 The STC8A8K64S4A12 UART Modules 2416.5 UART1 2426.5.1 Operation Mode 2426.5.2 UART1 Mode 0 2436.5.3 UART1 Mode 1 2446.5.4 UART1 Mode 2 2466.5.5 UART1 Mode 3 2476.5.6 Automatic Address recognition 2486.6 UART2/UART3/UART4 2486.6.1 UARTn Mode 0 (n = 2, 3, 4) 2516.6.2 UARTn Mode 1 (n = 2, 3, 4) 2516.7 Applications of the UART1 Mode 0 2526.8 Data Exchange with UART Asynchronous Mode via the TIA-232 Interface 2576.9 Number Conversion 2666.10 Multiprocessor Applications of UART 2686.11 Terminal and Terminal Emulation 2706.12 Summary 2796.13 Exercises 2806.14 Lab Assignments 282Chapter 7 Serial Peripheral Interface (SPI) 2847.1 Objectives 2847.2 Introduction to SPI 2847.2.1 Device Types 2857.2.2 SPI Signals 2857.2.3 SPI Data Transmission 2857.2.4 Clock Polarity and Phase 2867.2.5 SPI Bus Connection Methods 2877.3 The STC8A8K64S4A12 SPI Module 2887.4 The STC8A8K64S4A12 SPI Operation Modes 2907.4.1 Single Master and Single Slave Mode 2907.4.2 Dual Devices Configuration Mode 2907.4.3 Single Master and Multiple Slaves Mode 2917.4.4 Configuring SPI for Data Transfer 2917.5 Writing SPI Functions for Data Transfer 2937.6 Use I/O Pins to Simulate SPI Data Transmission 2947.7 Examples of Peripheral Chips with SPI Interface 2977.7.1 The 74HC595 Shift Register 2977.7.2 The TC72 Digital Temperature Sensor 3017.7.3 The 25LC256—An EEPROM with SPI Interface 3077.7.4 The MCP4922 Digital-to-Analog Converter 3127.8 Summary 3177.9 Exercises 3187.10 Lab Assignments 320Chapter 8 Inter-Integrated Circuit ( I²C ) 3218.1 Objectives 3218.2 Introduction to the I²C Interface 3218.2.1 Data Transmission in I²C Bus 3238.2.2 I²C Signal Components 3238.2.3 I²C Data Transfer Format 3268.2.4 Issues in I²C Data Transmission 3308.2.5 Pull-up Resistor (RP) Calculation 3328.3 The Features of the STC8A8K64S4A12 I²C 3358.3.1 Registers Related to Master Mode 3358.3.2 Registers Related to Slave Mode 3368.4 I2C Master Clock Timing 3388.5 Data Transmission & Reception in Master Mode 3408.6 Data Transmission & Reception in Slave Mode 3438.7 Interfacing with AT24LC64B Serial EEPROM Using the I2C 3448.7.1 Pin Assignment of the AT24LC64B 3458.7.2 Device Addressing of AT24LC64B 3458.7.3 Write Operations 3468.7.4 The AT24LC64B Acknowledge Polling 3478.7.5 The AT24LC64B Read Operation 3478.8 Interfacing with I2C Real-Time Clock MCP7940N 3518.8.1 Signal Functions 3528.8.2 Registers MAP 3528.8.3 Crystal Oscillator 3528.8.4 Timekeeping 3528.8.5 Alarms 3568.8.6 MFP Output Configuration 3568.8.7 Battery Backup 3588.8.8 I2C Transmission and Reception with MCP7940N 3598.9 Using the Digital Thermostat DS1631A 3638.9.1 Pin Assignment 3648.9.2 Functional Deion 3648.9.3 DS1631A Registers 3658.9.4 The DS1631A Operation 3658.9.5 DS1631A Command Set 3678.9.6 Interfacing the DS1631A with the STC8A8K64S4A12 3688.10 Summary 3748.11 Exercises 3768.12 Lab Assignments 378Chapter 9 Analog to Digital Converter 3799.1 Objectives 3799.2 Basics of A/D Conversion 3799.2.1 A Data Acquisition System 3809.2.2 Analog Voltage and Digital Code Characteristic 3819.2.3 A/D Conversion Algorithm 3829.2.4 Interpreting A/D Conversion Result 3849.2.5 Voltage Amplifying Circuit 3859.2.6 Voltage Translation Circuit 3869.3 The STC8A8K64S4A12 A/D Conversion 3879.3.1 ADC Channels 3879.3.2 Starting the A/D Conversion 3889.3.3 ADC Registers 3889.3.4 Reference Voltage 3899.3.5 ADC Interrupt 3899.4 Applications of ADC 3909.4.1 Construct a Digital Voltmeter 3909.4.2 Using the Temperature Sensor TC1047A 3929.4.3 Measuring Barometric Pressure 3969.4.4 Measuring Humidity 4029.5 Summary 4069.6 Exercises 4069.7 Lab Assignments 408Appendix A The STC8A8K64S4A12 Header File (stc8.h) 409Appendix B Music Note Frequencies 425Appendix C Tutorial on Using the Keil μVision IDE 429References 454中文简明目录第1章 计算机和微控制器介绍 11.1 学习目标 11.2 计算机简史 11.3 计算机硬件组成 81.4 处理器 91.5 微处理器 131.6 微控制器 141.7 嵌入式系统 151.8 无线传感网络(WSN) 171.9 物联网(IoT) 181.10 存储器 191.11 存储系统工作原理 241.12 程序执行 261.13 微控制器概述 291.14 小结 311.15 习题 33第2章 C语言编程 342.1 学习目标 342.2 C语言介绍 342.3 数据类型、操作数和表达式 362.4 控制流 432.5 输入和输出 482.6 函数和程序结构 502.7 指针、数组、结构体、共用体和类型定义 542.8 杂项 662.9 C语言预处理器 712.10 编程风格 772.11 C8051存储器映射 812.12 访问C8051外设寄存器 832.13 软硬件开发工具 882.14 小结 902.15 习题 922.16 实验 93第3章 并行端口 943.1 学习目标 943.2 I/O端口介绍 943.3 STC8A8K64S4A12单片机 I/O端口 953.4 I/O接口电气特性的兼容性 1023.5 简单I/O端口器件 1073.6 并行端口与键盘的接口 1173.7 液晶屏显示器(LCDs) 1223.8 数模转换器接口(DAC) 1353.9 小结 1403.10 习题 1413.11 实验 144第4章 时钟生成、中断及复位 1464.1 学习目标 1464.2 时钟信号介绍 1464.3 STC8A8K64S4A12单片机时钟系统 1484.4 系统时钟生成 1504.5 中断的基本概念 1524.6 中断的作用 1534.7 使能和禁用中断 1534.8 多个待处理中断的优先级 1544.9 中断服务 1544.10 中断向量 1554.11 中断嵌套 1554.12 复位 1564.13 STC8A8K64S4A12单片机的中断类型 1564.14 编写中断服务程序 1644.15 8051单片机的复位 1684.16 小结 1714.17 习题 1734.18 实验 174第5章 定时器功能 1765.1 学习目标 1765.2 微控制器定时器系统介绍 1765.3 STC8A8K64S4A12单片机定时器功能介绍 1805.4 定时器0和定时器1 1825.5 定时器2 1845.6 定时器3/4 1855.7 定时器应用 1865.8 可编程计数器阵列(PCA) 2015.9 直流马达控制 2195.10 小结 2235.11 习题 2245.12 实验 225第6章 通用异步收发传输器(UART) 2286.1 学习目标 2286.2 串行I/O端口的概念 2296.3 RS-232标准 2306.4 STC8A8K64S4A12单片机UART模块 2416.5 UART1 2426.6 UART2/UART3/UART4 2486.7 UART1模块0的应用 2526.8 通过TIA-232接口使用UART异步模式进行数据交换 2576.9 数值转换 2666.10 UART的多处理器应用 2686.11 终端和终端仿真 2706.12 小结 2796.13 习题 2806.14 实验 282第7章 串行外设接口(SPI) 2847.1 学习目标 2847.2 SPI介绍 2847.3 STC8A8K64S4A12单片机SPI模块 2887.4 STC8A8K64S4A12单片机SPI工作模式 2907.5 编写SPI函数进行数据传输 2937.6 使用I/O引脚实现SPI数据传输 2947.7 使用SPI连接外设芯片的实例 2977.8 小结 3177.9 习题 3187.10 实验 320第8章 I2C总线 3218.1 学习目标 3218.2 I2C总线介绍 3218.3 STC8A8K64S4A12单片机I2C总线的特点 3358.4 I2C总线主机时钟定时 3388.5 主机模式下的数据传输和接收 3408.6 从机模式下的数据传输和接收 3438.7 使用I2C总线和串行EEPROM AT24LC64B接口 3448.8 使用I2C总线和实时时钟MCP7940N接口 3518.9 使用I2C总线和数字恒温器DS1631A接口 3638.10 小结 3748.11 习题 3768.12 实验 378第9章 模数转换器 3799.1 学习目标 3799.2 模数转换基础 3799.3 STC8A8K64S4A12单片机模数转换器 3879.4 模数转换器的应用 3909.5 小结 4069.6 习题 4069.7 实验 408附录A STC8A8K64S4A12单片机头文件 409附录B 音符频率对照表 425附录C Keil mVision IDE使用教程 429
《C8051单片机双语入门与进阶(电子信息类英文版普通高等教育十三五规划教材)》 【简介_书评_在线阅读】 - 当当 - 博库图书音像专营店 (dangdang.com)
电子相关的英文学习有什么好的APP或书吗? 阳光下的彩虹 发表于 2023-6-20 00:29
电子相关的英文学习有什么好的APP或书吗?
就是推荐的这本书,你淘宝收索下 不错,学单片机的时候就一起把英语学习了
页:
[1]