The following figure shows how to connect counter/timer signals to the DT7816 to perform an event counting operation on C/T 0 using an external gate.

Connecting
Counter/Timer Signals for an Event Counting Operation Using an External
Gate
The counter counts the number of rising edges that occur on the Counter 0 Clock input when the Counter 0 Gate signal is in the active state (as specified by software).
This figure shows how to connect counter/timer signals to the DT7816 to perform an event counting operation on C/T 0 without using a gate. The counter counts the number of rising edges that occur on the Counter 0 Clock input.

Connecting Counter/Timer Signals for an Event Counting Operation Without Using a Gate