figure 9-1 general parallel i/o example peter spasov microcontroller technology: the 68hc11, fourth...

23
FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc. Upper Saddle River, New Jersey 07458 All rights reserved.

Upload: lesley-dennis

Post on 16-Jan-2016

229 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-1 General Parallel I/O Example

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 2: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-2 Seven-Segment Display

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 3: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-3 Seven-Segment LED Display Connections

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 4: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-4 Seven-Segment Code Examples

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 5: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-5 Parallel Output to Seven-Segment Displays

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 6: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-6 Liquid-Crystal Display

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 7: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-7 Example of a 5 x 8 Dot Matrix LCD Display Controlled by an MC145000 LCD Driver

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 8: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-8 Sample LCD Excitation Waveforms Based on MC145000 Driver IC

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 9: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-9 3 x 4 Matrix Keyboard (Telephone Format)

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 10: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-10 Parallel I/O with Keyboard. Also connect PC7 high using a pull-up resistor.

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 11: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-11 2-out-of-7 Keyboard Decoding Using Port C

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 12: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-12 Using Hardware Decoders with Keyboard

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 13: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-13 Strobed I/O

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 14: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-14 Parallel I/O Control Register

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 15: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-15 Input Handshaking

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 16: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-16 Input Handshake Timing Diagrams

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 17: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-17 Output Handshaking

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 18: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-18 Output Handshake Timing Diagrams

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 19: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-19 Centronics Parallel Interface Timing Diagram

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 20: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-20 Centronics Parallel Interface Pin Assignments

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 21: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-21 IEEE-488 Handshaking Timing Diagram

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 22: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-22 Open-Drain Outputs for Wired-AND Application

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.

Page 23: FIGURE 9-1 General Parallel I/O Example Peter Spasov Microcontroller Technology: The 68HC11, Fourth Edition Copyright ©2002 by Pearson Education, Inc

FIGURE 9-23 Command and Data Phases of a SCSI Bus

Peter SpasovMicrocontroller Technology: The 68HC11, Fourth Edition

Copyright ©2002 by Pearson Education, Inc.Upper Saddle River, New Jersey 07458

All rights reserved.