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 />

Freescale Semiconductor, Inc.<br />

Transmission Gates, Buffers, and Flip Flops<br />

<strong>Microcontrollers</strong> include more-complex types of logic gates and<br />

functional elements than those shown in the previous section. In this<br />

section, we explore some of these more-complex structures. The first<br />

two structures <strong>—</strong> transmission gate and three-state buffer <strong>—</strong> introduce<br />

the idea of logically controlled high-impedance signals. The third <strong>—</strong> half<br />

flip flop <strong>—</strong> introduces a structure that can maintain a signal at its output<br />

even after the input signal has changed. Flip flops are vital for a<br />

microcontroller to perform counting and sequencing tasks.<br />

Transmission Gate Figure 7 shows the logic symbol, a truth table for a CMOS transmission<br />

gate, and a CMOS equivalent circuit. When control input [3] is a logic 1,<br />

the transmission gate is said to be on and whatever logic level is present<br />

on the input [1] is also seen at the output [2]. When the control input [3]<br />

is a logic 0, the transmission gate is said to be off and the output node<br />

[2] appears to be disconnected from everything (high impedance or<br />

Hi-Z).<br />

[1] [2]<br />

Control<br />

[3]<br />

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

[3]<br />

Figure 7. CMOS Transmission Gate<br />

Refer to the CMOS equivalent circuit at the right of Figure 7 for the<br />

following discussion: When control input [3] is logic 0, the gate of N<br />

transistor [6] will be logic 0 and the gate of P transistor [5] will be logic 1<br />

(VDD). There is no voltage between ground and VDD that would cause P<br />

transistor [5] or N transistor [6] to turn on, so there is no conduction<br />

between the input [1] and the output [2]. Since output node [2] is<br />

effectively isolated from everything, it is said to be high impedance.<br />

44 Basic Logic Elements<br />

For More Information On This Product,<br />

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

MOTOROLA<br />

Input<br />

[1]<br />

Output<br />

[2]<br />

0 0 Hi-Z<br />

0 1 Hi-Z<br />

1 0 0<br />

1 1 1<br />

[1]<br />

[4]<br />

[3]<br />

[5]<br />

[6]<br />

[2]

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

Saved successfully!

Ooh no, something went wrong!