Parameterising 2/4xcounter module
2 x 32 bit counter (mode 0)
12
Parameter setting
12.4
12.4.3
l
12.4-6
EDSPM-TXXX-3.0-04/2004
12.4.3 2 x 32 bit counter (mode 0)
epm-t064
Fig. 12.4-4 Terminal assignment of the 2/4xcounter in the mode 0
The mode 0 offers two 32-bit counters which can be assigned with a starting value.
Each LOW-HIGH edge at input IN2 / IN5 (CLK) increments and/or decrements the
counter by 1, respectively.
The counting direction is determined via the signal level at input IN3 / IN6 (DIR):
Upcounter: LOW level
Downcounter: HIGH level
During the counting process, a LOW level must be applied to input IN1 / IN4 (RES).
A HIGH level deletes the counter.
When the counter reaches zero, the output OUT0 / OUT1 is to HIGH level for at
least 100 ms, even if the counter continues to count. When the counter stops at
zero, the output OUT0 / OUT1 remains on the HIGH level.
Terminal assignment
CLK signal
DIR signal
RES signal
OUT signal