![](http://datasheet.mmic.net.cn/30000/M32176F3TFP_datasheet_2359466/M32176F3TFP_316.png)
10
10-80
10.4 TIO (Input/Output-Related 16-Bit Timer)
MULTIJUNCTION TIMERS
32176 Group User’s Manual (Rev.1.01)
TIO0–3 Control Register 0 (TIO03CR0)
<Address: H’0080 031A>
<Upon exiting reset: H’0000>
b
Bit Name
Function
R
W
0
TIO3EEN (Note 1)
0: Disable external input
R
W
TIO3 external input enable bit
1: Enable external input
1–3
TIO3M
000: Single-shot output mode
R
W
TIO3 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: Noise processing input mode
4
TIO2ENS (Reserved bit)
Fix to "0"
0
5–7
TIO2M
000: Single-shot output mode
R
W
TIO2 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: Use inhibited
111: Use inhibited
8
TIO1ENS (Reserved bit)
Fix to "0"
0
9–11
TIO1M
000: Single-shot output mode
R
W
TIO1 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: Use inhibited
111: Use inhibited
12
TIO0ENS
0: Does not use enable/measure input source
R
W
TIO0 enable/measure input source select bit
1: External input TIN3
13–15
TIO0M
000: Single-shot output mode
R
W
TIO0 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: Noise processing input mode
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).
Notes: This register must always be accessed in halfwords.
Operation mode can only be set or changed while the counter is inactive.
To select TIO3 enable/measure input sources, use the TIO4 Control Register TIO34ENS (TIO3, TIO4 enable/measure
input source select) bits.
TIO1 and TIO2 do not have the capture function during measure free-run/clear input mode.
b0
12
34
56
78
9
10
11
12
13
14
b15
TIO3M
TIO2M
TIO1M
TIO0M
0
00
0
00
0
00
0
TIO3
TIO2
TIO1
TIO0
EEN
ENS
0
000