
10
10-104
10.4 TIO (Input/Output-Related 16-Bit Timer)
MULTIJUNCTION TIMERS
32180 Group User’s Manual (Rev.1.0)
TIO4 Control Register (TIO4CR)
<Address: H’0080 034A>
123456
b7
b0
TIO4M
TIO4EEN
TIO4CKS
TIO34ENS
00000000
<After reset: H’0000>
b
Bit Name
Function
R
W
0, 1
TIO4CKS
00: Clock bus 3
R
W
TIO4 clock source select bit
01: Clock bus 1
10: Clock bus 2
11: Clock bus 3
2
TIO4EEN (Note 1)
0: Disable external input
R
W
TIO4 external input enable bit
1: Enable external input
3, 4
TIO34ENS
00: External input TIN6
R
W
TIO3,4 enable/measure input source select bit
01: – ditto –
10: Input event bus 2
11: Input event bus 3
5–7
TIO4M
000: Single-shot output mode
R
W
TIO4 operation mode select bit
001: Delayed single-shot output mode
010: Continuous output mode
011: PWM output mode
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.