Instruction manual

Table Of Contents
PC215E Page 44
The output of counter 1 is available on the user socket, SK1 pin 58, and also as a possible clock
source for counter 2.
The gate input to counter 1 can be selected as VCC (permanently enabled), GND (permanently
disabled), the inverted output of Z1 Counter 2, or an external gate signal on SK1 pin 19. This
gate selection is made by writing to the Group Z Gate Connection Register described in Section
5.3.20.
Further information on programming the 82C54 Programmable Counter/Timer is given in
chapters 4 and 6.
BIT ASSIGNMENTS
The bit layout of the Z2 counter 1 data register is shown below.
5.3.16 Z2 Counter 2 Data Register
The 82C54 Programmable Timer Counter Z2 provides three 16 bit counter/timers which can be
independently programmed to operate in any one of six modes with BCD or Binary count
functions. The register definition for Z2 Counter 2 Data is as follows.
Register
Offset
Write and/or
Read
Register
Width
Register
Title
Mnemonic
16
16
Write and Read 8 bits
82C54 Z2 Counter/Timer
Counter 2 Data Register
Z2 CT2
01234567
Second Byte
(Most Significant)
8
9
10
11
12
13
14
15
First Byte
(Least Significant)
0
1
2
3
4
5
6
7
Z2 16 BIT COUNTER 1 DATA BIT