8-4
BA + 15: Digital I/O Control (Read/Write 8-bit)
This register is used to set the digital I/O direction and enable the digital inputs to be latched. Reading
this register returns the current settings.
Bit 0 Sets the direction of the Port 0.0 - Port 0.3 digital lines.
Bit 1 Sets the direction of the Port 0.4 - Port 0.7 digital lines.
Bit 2 Sets the direction of the Port 1.0 - Port 1.3 digital lines.
Bit 3 Sets the direction of the Port 1.4 - Port 1.7 digital lines.
Bit 4 Enables latch mode for the Port 0 input lines. When this mode is enabled, data can be strobed and
latched into Port 0 on either the rising edge or the falling edge of the strobe signal selected at BA
+ 14.
Bit 5 Enables latch mode for the Port 1 input lines. When this mode is enabled, data can be strobed and
latched into Port 1 on either the rising edge or the falling edge of the strobe signal selected at BA
+ 14.
Bit 6 Select Port 0 strobe polarity. This bit has no meaning if latching is disabled on Port 0.
Bit 7 Select Port 1 strobe polarity. This bit has no meaning if latching is disabled on Port 1.
Strobing Data into Port 0 or Port 1
If you enable latch mode for either Port 0 or Port 1, data can be strobed into the respective port. This
means that data can be latched into the input latch and will remain at this value until another input strobe
signal appears even if the input data changes. The input strobe signal can be selected from 3 different sources
specified at BA + 14. Both Port 0 and Port 1 use the same strobe signal. The data can be latched on either the
positive edge or the negative edge of the strobe. This is set up by bits 6 and 7 at BA + 15. Status bits at BA + 6
can be monitored to show whether data has been latched. These status bits are cleared when the digital input
port is read.
Port 1 High Direction (P1.4 - P1.7)
0 = input
1 = output
Port 0 Latch Enable
0 = disabled
1 = enabled
Port 1 Latch Enable
0 = disabled
1 = enabled
Port 0 Strobe Polarity
0 = positive edge
1 = negative edge
'
'
'
'
'
'
'
'
Port 0 Low Direction (P0.0 - P0.3)
0 = input
1 = output
Port 0 High Direction (P0.4 - P0.7)
0 = input
1 = output
Port 1 Low Direction (P1.0 - P1.3)
0 = input
1 = output
Port 1 Strobe Polarity
0 = positive edge
1 = negative edge
Содержание 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...