4-5
BA + 5: IRQ Select (Read/Write 8-bit)
This register is used to set the interrupt source and channel. Reading this register returns the current
settings.
'
'
'
'
'
'
'
'
IRQ Source Select
000 = End-of-Convert
001 = User TC Counter 0 out
010 = User TC Counter 1 out
011 = User TC Counter 2 out
100 = External Clock 2
101 = P0 Latch Status
110 = P1 Latch Status
111 = Reserved
IRQ Channel Select
000 = Disabled
001 = IRQ3
010 = IRQ5
011 = IRQ9
100 = IRQ10
101 = IRQ11
110 = IRQ12
111 = IRQ15
Starting with bit 0, these status bits show:
Bit 0 Shows the status of the A/D converter.
Bit 1 Shows when an interrupt has occurred.
Bit 2 Shows when data has been latched at the Port 0 digital inputs.
Bit 3 Shows when data has been latched at the Port 1 digital inputs.
Bit 4 Reserved.
Bit 5 Reserved.
Bit 6 Reserved.
Bit 7 Reserved.
'
'
'
'
'
'
'
'
IRQ Status
0 = no interrupt
1 = interrupt
P0 Latch Status
0 = Data is not latched
1 = Data is latched
P1 Latch Status
0 = Data is not latched
1 = Data is latched
End-of-Convert - an interrupt is generated when the A/D conversion is done.
User TC Counter 0 out - an interrupt is generated when user TC Counter 0's count reaches 0.
User TC Counter 1 out - an interrupt is generated when user TC Counter 1's count reaches 0.
User TC Counter 2 out - an interrupt is generated when user TC Counter 2's count reaches 0.
External Clock 2 - an interrupt is generated when the external clock 2 (CN3 - 45) line is pulsed.
P0 Latch Status - an interrupt is generated when data has been latched into Port 0.
P1 Latch Status - an interrupt is generated when data has been latched into Port 1.
BA + 6: Read Status/Clear IRQ (Read/Write 8-bit)
A read provides the status bits defined below.
End-of-Convert Status
0 = converting
1 = not converting
Содержание 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...