19
Chapter 2
Counter Gate Source
The gate sources you select determine what kind of gate input signal to
enable your counter/timer when receiving clock input. There are two gate
sources available for the user counters by setting gate source control bits -
CTR0GateSet and CTR1GateSet.
Counter Output Destination
You can choose the output destination of counter 0 and counter 1 by set-
ting “Output Destination control bits” - CTR0OutSet and TR1OutSet.
Table 2.12: Counter Gate Source Control Bit
CTR0
GateSet
0
Gate source from “CTR0Gate” control bit (Default)
1
Gate source from digital input 4 (DI4) channel
CTR1
GateSet
0
Gate source from “CTR1Gate” control bit (Default)
1
Gate source from digital input 5 (DI5) channel
Table 2.13: Counter Output Destination
CTR0
OutSet
0
Output destination to “CTR0Out” status bit (Default)
1
Output destination to “CTR0Out” status bit and digital
output 6 (DO6) channel
CTR1
OutSet
0
Gate destination to “CTR1Out” status bit. (Default)
1
Output destination to “CTR1Out” status bit and digital
output 7 (DO7) channel