Chapter 2 Hardware Functionality
2 1
Counter clock control bit
CTR0CLKSet
0
Internal clock (default)
1
External clock from digital
input 6 (DI6) channel
CTR1CLKSet
0
Internal clock (default)
1
External clock from digital
input 7 (DI7) channel
Counter clock source
There are two clock sources available for the user counters by setting
counter clock control bits - CTR0CLKSet and CTR1CLKSet.
Table 2-10 Counter clock source control bit
Counter internal clock
There are four frequency options to choose according to applications,
and it’s set by internal clock control bits - S0 and S1.
Table 2-11 Counter internal clock control bit
S1
S0
Time base
0
0
100KHz (default)
0
1
10 KHz
1
0
1 KHz
1
1
100 Hz