101
D.2 Counter Read/Write and Control Registers
The 82C54 programmable interval timer uses four registers at
addresses BASE + 24(Dec), BASE + 26(Dec), BASE + 28(Dec) and
BASE + 30(Dec) for read, write and control of counter functions.
Register functions appear below:
Register
Function
BASE + 24(Dec)
Counter 0 read/write
BASE + 26(Dec)
Counter 1 read/write
BASE + 28(Dec)
Counter 2 read/write
BASE + 30(Dec)
Counter control word
Since the 82C54 counter uses a 16-bit structure, each section of
read/write data is split into a least significant byte (LSB) and most
significant byte (MSB). To avoid errors, it is important that you make
read/write operations in pairs and keep track of the byte order.
The data format for the control register is as below:
BASE+30(Dec) 82C54 control, standard mode
Bit
D7 D6 D5 D4 D3 D2 D1 D0
Value
SC1 SC0 RW1 RW0 M2 M1 M0 BCD
Содержание MIC-3716
Страница 2: ...ii This page is left blank for hard printing...
Страница 6: ...vi This page is left blank for hard printing...
Страница 8: ...viii Table E 2 D A binary code table 117...
Страница 11: ...1 Introduction 1 CHAPTER...
Страница 17: ...7 Fig 1 1 Installation Flow Chart...
Страница 21: ...11 Installation and Configuration CHAPTER 2...
Страница 40: ...30 This page is left blank for hard printing...
Страница 41: ...31 Signal Connections CHAPTER 3...
Страница 44: ...34 Fig 3 1 I O connector pin assignments for the MIC 3716...
Страница 50: ...40...
Страница 54: ...44 This page is left blank for hard printing...
Страница 55: ...45 Software Programming Overview CHAPTER 4...
Страница 60: ...50 This page is left blank for hard printing...
Страница 61: ...51 Calibration CHAPTER 5...
Страница 77: ...67 Appendixes...
Страница 81: ...71 Appendix B Block Diagrams...
Страница 82: ...72 This page is left blank for hard printing...
Страница 120: ...110 This page is left blank for hard printing...