Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000001475361 | TJ223.M53 S63 1993 | Closed Access Book | 1:BOOK_ARC | Searching... |
On Order
Summary
Summary
This updated edition continues to provide readers with the background needed to understand and use any 8-bit microcontrollers, specifically the very popular Motorola 68HC11 and 68HC12. Covering a wide range of topics, at a wide range of levels, it serves as a guide to real-time control software and interfacing, and concentrates on applications throughout-- encouraging hands-on practice using computer simulation or an evaluation board. It starts at an introductory level, explaining the applications and origins of microcontrollers; then develops a programmer's view of the machine; and finally covers machine hardware and how to connect it to the outside world. An excellent collection of appendices provides easy reference. This book is an excellent guide and reference for interested amateurs and experienced users of microcontrollers.
Table of Contents
Part 1 Introducing Microcontroller Technology | p. 1 |
1 Microcontroller Concepts | p. 1 |
1.1 What Is a Microcontroller? and What Is It Used For? | p. 1 |
1.2 History | p. 5 |
1.3 Top-Down View of Microcontroller Systems | p. 8 |
1.4 Memory Concepts | p. 13 |
1.5 Microcontroller Memory Map | p. 16 |
Part 2 Software | p. 18 |
2 Programming | p. 18 |
2.1 Assembly and Other Programming Languages | p. 19 |
2.2 Source Code, Object Code, and the Assembler | p. 21 |
2.3 Using High-Level Languages | p. 28 |
2.4 Fetch/Execute Operation of the Central Processing Unit (CPU) | p. 31 |
2.5 The Instruction Set and Addressing Modes | p. 36 |
2.6 Basic Operations | p. 65 |
2.7 Microcontroller Arithmetic and the Condition Code Register | p. 74 |
2.8 Program Flow Control Using Looping and Branching | p. 90 |
2.9 Summary | p. 104 |
Exercises | p. 104 |
3 The Stack, Subroutines, Interrupts, and Resets | p. 112 |
3.1 Introducing the Stack | p. 112 |
3.2 Using the Stack to Store Data | p. 114 |
3.3 Using Subroutines | p. 117 |
3.4 Modular Programming Using Subroutines | p. 124 |
3.5 Subroutine Operation | p. 132 |
3.6 Concept of Interrupts | p. 137 |
3.7 Interrupt Vectors | p. 141 |
3.8 Interrupt Operation | p. 144 |
3.9 Hardware Interrupts and Resets | p. 146 |
3.10 Software and CPU Control Interrupts | p. 155 |
3.11 The Kiss of Death: Stack Overflow | p. 156 |
3.12 Summary | p. 157 |
Exercises | p. 158 |
4 Cross Assembly and Program Development | p. 162 |
4.1 Introduction to Program Development | p. 162 |
4.2 Format of the Source Code | p. 163 |
4.3 Code and Data Segments | p. 167 |
4.4 Pseudo-Operations | p. 168 |
4.5 The Assembly Two-Pass Process | p. 177 |
4.6 Assembler Options and Preprocessor Directives | p. 180 |
4.7 Hex and Binary Files | p. 185 |
4.8 Documentation Files | p. 188 |
4.9 Simulation | p. 191 |
4.10 Evaluation Boards and Emulation | p. 191 |
4.11 Summary | p. 194 |
Exercises | p. 194 |
Part 3 Hardware | p. 197 |
5 Bus Concepts and Modes of Operation | p. 197 |
5.1 Introduction | p. 197 |
5.2 The Bus | p. 198 |
5.3 Tristate | p. 200 |
5.4 Address Decoding | p. 203 |
5.5 Modes of Operation | p. 207 |
5.6 Single-Chip Operating Mode | p. 207 |
5.7 Expanded Multiplexed Operating Mode | p. 208 |
5.8 Special Bootstrap Mode | p. 209 |
5.9 Special Test Operating Mode | p. 211 |
5.10 System Circuit | p. 211 |
5.11 Summary | p. 213 |
Exercises | p. 214 |
6 Microcontroller Hardware | p. 216 |
6.1 Semiconductor Technology | p. 216 |
6.2 Chip Specifications | p. 223 |
6.3 Memory Technology | p. 228 |
6.4 Erasable Programmable Read-Only Memory (EPROM) | p. 230 |
6.5 Flash Memory | p. 233 |
6.6 Electrically Erasable Programmable Read-Only Memory (EEPROM) | p. 233 |
6.7 Configuration Control Register (CONFIG) | p. 239 |
6.8 RAM and I/O Mapping Register (INIT) | p. 240 |
6.9 Summary | p. 240 |
Exercises | p. 241 |
7 Clocked Operation | p. 243 |
7.1 Timing Diagrams | p. 243 |
7.2 System Clock | p. 245 |
7.3 Bus Operations | p. 247 |
7.4 Cycle-by-Cycle Operation | p. 253 |
7.5 Oscilloscope Test Loops | p. 255 |
7.6 Logic Analyzer | p. 257 |
7.7 Transmission Line Effects | p. 260 |
7.8 Summary | p. 263 |
Exercises | p. 264 |
Part 4 Interfacing | p. 266 |
8 Interfacing Concepts | p. 266 |
8.1 Introduction | p. 267 |
8.2 Input/Output Subsystems and Registers | p. 268 |
8.3 Memory or Input/Output Mapping | p. 271 |
8.4 Interfacing Using Polling or Interrupts | p. 274 |
8.5 The Parallel I/O Subsystem | p. 276 |
8.6 Serial Systems | p. 277 |
8.7 Programmable Timer I/O Subsystem | p. 280 |
8.8 Analog/Digital I/O Subsystem | p. 282 |
8.9 The I/O Subsystem Registers | p. 284 |
8.10 Interface Standards | p. 289 |
8.11 Summary | p. 290 |
Exercises | p. 291 |
9 Parallel Input/Output | p. 293 |
9.1 Introduction to the Subsystem | p. 294 |
9.2 Seven-Segment (LED) Display Output | p. 297 |
9.3 Liquid-Crystal Displays (LCDs) | p. 304 |
9.4 Keyboard Interfacing | p. 311 |
9.5 Other User Input/Output | p. 324 |
9.6 Strobed Input/Output | p. 324 |
9.7 Full Handshake Input/Output | p. 330 |
9.8 Parallel Interface Standards | p. 338 |
9.9 Summary | p. 352 |
Exercises | p. 355 |
10 The Serial Subsystems | p. 358 |
10.1 Asynchronous Communications Systems | p. 359 |
10.2 The Serial Communications Interface (SCI) | p. 370 |
10.3 SCI Registers | p. 380 |
10.4 Synchronous Serial Input/Output | p. 391 |
10.5 The Serial Peripheral Interface (SPI) | p. 393 |
10.6 SPI Topologies and Applications | p. 393 |
10.7 SPI Software | p. 399 |
10.8 SPI Error Handling | p. 408 |
10.9 Network Communications | p. 409 |
10.10 Summary | p. 412 |
Exercises | p. 413 |
11 Programmable Timer Operations | p. 417 |
11.1 Overview | p. 417 |
11.2 Output Compare | p. 423 |
11.3 Input Capture | p. 440 |
11.4 Pulse Accumulator | p. 451 |
11.5 Real-Time Interrupt | p. 459 |
11.6 Summary | p. 462 |
Exercises | p. 463 |
12 The Analog Converter Subsystem | p. 465 |
12.1 Concepts and Terminology | p. 466 |
12.2 Transducers | p. 470 |
12.3 Digital-to-Analog Converters | p. 478 |
12.4 Analog-to-Digital Converters | p. 484 |
12.5 The Built-in A/D Subsystem | p. 488 |
12.6 Summary | p. 494 |
Exercises | p. 495 |
Part 5 The Microcontroller World | p. 497 |
13 Application Control Software | p. 497 |
13.1 Boolean Logic Control | p. 498 |
13.2 Sequencers | p. 500 |
13.3 Sequential Machines | p. 503 |
13.4 Feedback Control of the Analog World | p. 511 |
13.5 Digital Signal Processors | p. 517 |
13.6 Using the C Language | p. 524 |
13.7 Multitasking | p. 547 |
13.8 Fuzzy Logic | p. 554 |
13.9 Summary | p. 571 |
Exercises | p. 572 |
14 Applications | p. 575 |
14.1 Automotive-Engine Control | p. 575 |
14.2 Consumer Electronics: Automatic Camera | p. 582 |
14.3 Computer Peripherals: Dot Matrix Printer | p. 590 |
14.4 Society and Microcontroller Technology | p. 601 |
15 Eight-Bit Microcontroller Families | p. 602 |
15.1 Microcontrollers and the Semiconductor Industry | p. 603 |
15.2 Motorola Families | p. 604 |
15.3 The Intel 8051 Core | p. 615 |
15.4 Survey of Other Families | p. 624 |
15.5 Choosing a Microcontroller | p. 624 |
15.6 Summary | p. 628 |
Appendices | p. 630 |
A Instruction Set Summary | p. 630 |
B Quick Reference | p. 638 |
MC68HC11E9 Block Diagram | p. 639 |
Data Book and Programming Reference Guide Tables and Figures | p. 641 |
Cross-References to Other Data | p. 646 |
C Further Information | p. 647 |
References | p. 647 |
Some Trade Magazines | p. 648 |
Manuals | p. 649 |
Sources | p. 649 |
D Conventions | p. 651 |
C Conventions | p. 651 |
Logic Levels for Digital Signals | p. 652 |
Numbering Systems | p. 652 |
Memory | p. 653 |
Cross Assembly | p. 654 |
Data Manipulation | p. 656 |
Measurement Quantities | p. 656 |
E Header and Library File Source Listings | p. 658 |
HC11REG.H | p. 658 |
HC11VEC.H | p. 659 |
F Digital Logic and Binary Codes | p. 662 |
A Digital Logic Primer | p. 662 |
Number Systems | p. 666 |
Number Conversions | p. 668 |
Binary Ranges | p. 670 |
Other Codes | p. 676 |
G Basic Waveforms | p. 677 |
H Internet and Disk Resources | p. 679 |
Internet | p. 679 |
Disk Resources | p. 679 |
Glossary | p. 687 |
Abbreviations | p. 695 |
Index | p. 699 |