23.10.2013 Views

M68HC05 Family — Understanding Small Microcontrollers

M68HC05 Family — Understanding Small Microcontrollers

M68HC05 Family — Understanding Small Microcontrollers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Freescale Semiconductor, Inc...<br />

Basic Logic Elements<br />

Logic Levels<br />

Freescale Semiconductor, Inc.<br />

This chapter begins with a close look at the requirements for logic-level<br />

voltages. Transistors and interconnections for a typical CMOS<br />

(complementary metal-oxide semiconductor) microcontroller are<br />

discussed. A simple inverter, NAND gate, and NOR gate are explained.<br />

Finally, a transmission gate, a three-state buffer, and a flip-flop circuit<br />

are described. Virtually any part of a microcontroller can be explained in<br />

terms of these few simple logic elements.<br />

Earlier, in the discussion of what a microcontroller is, we said a level of<br />

approximately 0 volts indicates a logic 0 and a voltage approximately<br />

equal to the positive power source indicates a logic 1 signal. To be more<br />

precise, there is a voltage level below which the microcontroller<br />

manufacturer guarantees that a signal will be recognized as a valid<br />

logic 0. Similarly, there is a voltage level above which the microcontroller<br />

manufacturer guarantees that a signal will be recognized as a valid<br />

logic 1. When designing a microcontroller system, be sure that all signals<br />

conform to these specified limits, even under worst-case conditions.<br />

Most modern microcontrollers use a technology called complementary<br />

metal-oxide semiconductor (CMOS). This means the circuits include<br />

both N-type and P-type transistors. Transistors will be explained in<br />

greater detail later in this chapter.<br />

In a typical CMOS circuit, a logic 0 input may be specified as 0.0 volts to<br />

0.3 times VDD. If VDD is 5.0 volts, this translates to the range 0.0 to<br />

1.5 volts. A logic 1 input may be specified as 0.7 times VDD to VDD. If<br />

VDD is 5.0 volts, this translates to the range 3.5 to 5.0 volts.<br />

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

38 Basic Logic Elements<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!