23.10.2013 Views

M68HC05 Family — Understanding Small Microcontrollers

M68HC05 Family — Understanding Small Microcontrollers

M68HC05 Family — Understanding Small Microcontrollers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Freescale Semiconductor, Inc...<br />

What is a Microcontroller?<br />

Computer System Outputs<br />

Central Processor Unit (CPU)<br />

Freescale Semiconductor, Inc.<br />

Output devices are used to communicate information or actions from the<br />

computer system to the outside world. In a personal computer system,<br />

the most common output device is the CRT (cathode ray tube) display.<br />

Microcontroller systems often use much simpler output devices such as<br />

individual indicator lamps or beepers.<br />

Translation circuits (sometimes built into the same integrated circuit as<br />

the microcomputer) can convert digital signals into analog voltage levels.<br />

If necessary, other circuits can translate VDD and VSS levels that are<br />

native to an MCU into other voltage levels.<br />

The “controller” in microcontroller comes from the fact that these small<br />

computer systems usually control something as compared to a personal<br />

computer that usually processes information. In the case of the personal<br />

computer, most output is information (either displayed on a CRT screen<br />

or printed on paper). In contrast, in a microcontroller system, most<br />

outputs are logic level digital signals that are used to drive display LEDs<br />

(light-emitting diodes) or electrical devices such as relays or motors.<br />

The CPU is at the center of every computer system. The job of the CPU<br />

is to obediently execute the program of instructions that was supplied by<br />

the programmer. A computer program instructs the CPU to read<br />

information from inputs, to read information from and write information to<br />

working memory, and to write information to outputs. Some program<br />

instructions involve simple decisions that cause the program to either<br />

continue with the next instruction or to skip to a new place in the<br />

program. In a later chapter, we will look closely at the set of available<br />

instructions for a particular microcontroller.<br />

In mainframe and personal computers, there are actual layers of<br />

programs, starting with internal programs, that control the most basic<br />

operations of the computer. Another layer includes user programs that<br />

are loaded into the computer system memory when they are about to be<br />

<strong>M68HC05</strong> <strong>Family</strong> <strong>—</strong> <strong>Understanding</strong> <strong>Small</strong> <strong>Microcontrollers</strong> <strong>—</strong> Rev. 2.0<br />

20 What is a Microcontroller?<br />

For More Information On This Product,<br />

Go to: www.freescale.com<br />

MOTOROLA

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!