In
digital logic and
computing, a
counter is a device which stores (and sometimes displays) the number of times a particular
event or
process has occurred, often in relationship to a
clock signal. The most common type is a
sequential digital logic circuit with an input line called the "clock" and multiple output lines. The values on the output lines represent a number in the
binary or
BCD number system. Each pulse applied to the clock input s or s the number in the counter.