ii
BA + 10: 8254 Timer/Counter 2 (Read/Write 8-bit) ....................................................................................4-6
BA + 11: 8254 Control Word (Write Only 8-bit) .........................................................................................4-6
BA + 12: Digital I/O Port 0 (Read/Write 8-bit) ............................................................................................4-7
BA + 13: Digital I/O Port 1 (Read/Write 8-bit) ............................................................................................4-7
BA + 14: Digital I/O Strobe Select (Read/Write 8-bit) ................................................................................4-7
BA + 15: Digital I/O Control (Read/Write 8-bit) ..........................................................................................4-8
Programming the DM6210 ..................................................................................................................................4-9
Clearing and Setting Bits in a Port ..................................................................................................................4-9
CHAPTER 5 A/D CONVERSIONS ................................................................................................. 5-1
Selecting a Channel ..........................................................................................................................................5-3
Starting an A/D Conversion ............................................................................................................................5-3
Monitoring Conversion Status ........................................................................................................................5-3
Reading the Converted Data ...........................................................................................................................5-4
Channel Scanning ............................................................................................................................................5-5
CHAPTER 6 INTERRUPTS ............................................................................................................ 6-1
Software Selectable Interrupt Sources ...........................................................................................................6-3
Software Selectable Interrupt Channel ...........................................................................................................6-3
Basic Programming For Interrupt Handling ..................................................................................................6-4
What Is an Interrupt? ...................................................................................................................................6-4
Interrupt Request Lines ...............................................................................................................................6-4
8259 Programmable Interrupt Controller ..................................................................................................6-4
Interrupt Mask Register (IMR) ...................................................................................................................6-4
End-of-Interrupt (EOI) Command ..............................................................................................................6-5
What Exactly Happens When an Interrupt Occurs? ................................................................................. 6-5
Using Interrupts in Your Programs ............................................................................................................6-5
Writing an Interrupt Service Routine (ISR) ...............................................................................................6-5
Saving the Startup Interrupt Mask Register (IMR) and Interrupt Vector ...............................................6-6
Restoring the Startup IMR and Interrupt Vector .......................................................................................6-7
Common Interrupt Mistakes .......................................................................................................................6-7
CHAPTER 7 TIMER / COUNTERS ............................................................................................... 7-1
CHAPTER 8 DIGITAL I/O .............................................................................................................. 8-1
BA + 12: Digital I/O Port 0 (Read/Write 8-bit) .................................................................................................8-3
BA + 13: Digital I/O Port 1 (Read/Write 8-bit) .................................................................................................8-3
BA + 14: Digital I/O Strobe Select (Read/Write 8-bit).....................................................................................8-3
BA + 15: Digital I/O Control (Read/Write 8-bit) ..............................................................................................8-4
Strobing Data into Port 0 or Port 1 ......................................................................................................................8-4
CHAPTER 9 EXAMPLE PROGRAMS .......................................................................................... 9-1
C Programs ............................................................................................................................................................9-3
Quick Basic Programs ..........................................................................................................................................9-3
CHAPTER 10 CALIBRATION...................................................................................................... 10-1
Required Equipment .......................................................................................................................................... 10-3
A/D Calibration .................................................................................................................................................. 10-4
Unipolar Calibration ..................................................................................................................................... 10-5
Bipolar Calibration........................................................................................................................................ 10-5
Содержание DM6210
Страница 2: ......
Страница 9: ...i 1 INTRODUCTION...
Страница 10: ...i 2...
Страница 14: ...1 2...
Страница 22: ...1 10...
Страница 24: ...2 2...
Страница 28: ...2 6...
Страница 30: ...3 2...
Страница 34: ...4 2...
Страница 44: ...5 2...
Страница 48: ...5 6...
Страница 50: ...6 2...
Страница 56: ...6 8...
Страница 57: ...7 1 CHAPTER 7 TIMER COUNTERS This chapter explains the 8254 timer counter circuits on the DM6210...
Страница 58: ...7 2...
Страница 61: ...8 1 CHAPTER 8 DIGITAL I O This chapter explains the digital I O circuitry on the DM6210...
Страница 62: ...8 2...
Страница 65: ...9 1 CHAPTER 9 EXAMPLE PROGRAMS This chapter discusses the example programs included with the DM6210...
Страница 66: ...9 2...
Страница 68: ...9 4...
Страница 70: ...10 2...
Страница 74: ...10 6...
Страница 75: ...A 1 APPENDIX A DM6210 SPECIFICATIONS...
Страница 76: ...A 2...
Страница 78: ...A 4...
Страница 79: ...B 1 APPENDIX B CN3 CONNECTOR PIN ASSIGNMENTS...
Страница 80: ...B 2...
Страница 82: ...B 4...
Страница 83: ...APPENDIX C COMPONENT DATA SHEETS C 1...
Страница 84: ......
Страница 85: ...Intel 82C54 Programmable Interval Timer Data Sheet Reprint...
Страница 86: ......
Страница 88: ...D 2...
Страница 90: ...D 4 RTD Embedded Technologies Inc 103InnovationBlvd StateCollegePA16803 0906 USA Ourwebsite www rtd com...
Страница 91: ...DM6210 User Settings Base I O Address hex decimal IRQ Channel...