MC74HC161A, MC74HC163A
http://onsemi.com
7
FUNCTION DESCRIPTION
The HC161A/163A are programmable 4bit synchronous
counters that feature parallel Load, synchronous or
asynchronous Reset, a Carry Output for cascading, and
countenable controls.
The HC161A and HC163A are binary counters with
asynchronous Reset and synchronous Reset, respectively.
INPUTS
Clock (Pin 2)
The internal flipflops toggle and the output count
advances with the rising edge of the Clock input. In addition,
control functions, such as resetting and loading, occur with
the rising edge of the Clock input.
Preset Data Inputs P0, P1, P2, P3 (Pins 3, 4, 5, 6)
These are the data inputs for programmable counting.
Data on these pins may be synchronously loaded into the
internal flipflops and appear at the counter outputs.
P0 (Pin 3) is the leastsignificant bit and P3 (Pin 6) is the
mostsignificant bit.
OUTPUTS
Q0, Q1, Q2, Q3 (Pins 14, 13, 12, 11)
These are the counter outputs. Q0 (Pin 14) is the
leastsignificant bit and Q3 (Pin 11) is the mostsignificant
bit.
Ripple Carry Out (Pin 15)
When the counter is in its maximum state, 1111, this
output goes high, providing an external lookahead carry
pulse that may be used to enable successive cascaded
counters. Ripple Carry Out remains high only during the
maximum count state. The logic equation for this output is:
Ripple Carry Out = Enable T Q0 Q1 Q2 Q3
OUTPUT STATE DIAGRAMS
0
1
234
5
6
7
8
9
10
11
12
13
14
15
Figure 3. Binary Counters
CONTROL FUNCTIONS
Resetting
A low level on the Reset pin (Pin 1) resets the internal
flipflops and sets the outputs (Q0 through Q3) to a low
level. The HC161A resets asynchronously, and the HC163A
resets with the rising edge of the Clock input (synchronous
reset).
Loading
With the rising edge of the Clock, a low level on Load
(Pin 9) loads the data from the Preset Data input pins (P0,
P1, P2, P3) into the internal flipflops and onto the output
pins, Q0 through Q3. The count function is disabled as long
as Load is low.
Count Enable/Disable
These devices have two countenable control pins:
Enable P (Pin 7) and Enable T (Pin 10). The devices count
when these two pins and the Load pin are high. The logic
equation is:
Count Enable = Enable P Enable T Load
The count is either enabled or disabled by the control
inputs according to Table
1. In general, Enable P is a
countenable control: Enable T is both a countenable and
a RippleCarry Output control.
Table 1. Count Enable/Disable
Control Inputs
Result at Outputs
Load
Enable P
Enable T
Q0 Q3
Ripple Carry Out
H
Count
High when Q0Q3
are maximum*
L
H
No
Count
X
L
H
No
Count
High when Q0Q3
are maximum*
X
L
No
Count
L
*Q0 through Q3 are maximum when Q3, Q2, Q1, Q0 = 1111.