MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-Related 16-Bit Timer)
10
TIO4 Control Register (TIO4CR)
<Address: H’0080 034A>
b0
1
0
2
TIO4EEN
0
3
4
5
0
6
TIO4M
0
b7
0
TIO4CKS
TIO34ENS
0
0
0
<After reset: H’0000>
b
Bit Name
TIO4CKS
Function
R
R
W
W
0, 1
00: Clock bus 3
01: Clock bus 1
10: Clock bus 2
11: Clock bus 3
TIO4 clock source select bit
2
TIO4EEN (Note 1)
0: Disable external input
1: Enable external input
R
R
W
W
TIO4 external input enable bit
3, 4
TIO34ENS
00: External input TIN6
01: – ditto –
TIO3,4 enable/measure input source select bit
10: Input event bus 2
11: Input event bus 3
5–7
TIO4M
000: Single-shot output mode
001: Delayed single-shot output mode
010: Continuous output mode
011: PWM output mode
R
W
TIO4 operation mode select bit
100: Measure clear input mode
101: Measure free-run input mode
110: Noise processing input mode
111: – ditto –
Note 1: During measure free-run/clear input mode, even if this bit is set to "0" (external input disabled), when a capture signal is
entered from an external device, the counter value at that point in time is written into the measure register. In measure clear
input mode, however, if this bit = "0" (external input disabled), the counter value is not initialized (H’FFFF) upon capture
and, therefore, this bit should be set to "1" (external input enabled) when using measure clear input mode.
Note: • Operation mode can only be set or changed while the counter is inactive.
32180 Group User’s Manual (Rev.1.0)
10-104