![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_394.png)
10.4 TIO (Input/Output-Related 16-Bit Timer)
MULTIJUNCTION TIMERS
10
10-98
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
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
0: Do not use enable/measure input source
R
W
TIO2 enable/measure input source select bit
1: External input TIN5
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: Noise processing input mode
111: Noise processing input mode
8
TIO1ENS
0: Do not use enable/measure input source
R
W
TIO1 enable/measure input source select bit
1: External input TIN4
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: Noise processing input mode
111: Noise processing input mode
12
TIO0ENS
0: Do 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) when using measure clear input mode.
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.
b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
b15
TIO3EEN
TIO3M
TIO2ENS
TIO2M
TIO1ENS
TIO1M
TIO0ENS
TIO0M
0
00
000
0000
00