MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-Related 16-Bit Timer)
10
TIO9 Control Register (TIO9CR)
<Address: H’0080 038B>
b8
9
10
0
11
12
0
13
0
14
TIO9M
0
b15
0
TIO9CKS
TIO9ENS
0
0
0
<After reset: H’00>
b
8
Bit Name
Function
R
0
W
0
No function assigned. Fix to "0".
9, 10
TIO9CKS
00: Clock bus 0
01: Clock bus 1
10: Clock bus 2
11: Clock bus 3
R
W
TIO9 clock source select bit
11, 12
13–15
TIO9ENS
00: No selection
R
R
W
W
TIO9 enable/measure input source select bit
01: External input TIN11
10: Input event bus 1
11: Input event bus 3
TIO9M
000: Single-shot output mode
001: Delayed single-shot output mode
010: Continuous output mode
011: PWM output mode
TIO9 operation mode select bit
100: Measure clear input mode
101: Measure free-run input mode
110: Noise processing input mode
111: – ditto –
Note: • Operation mode can only be set or changed while the counter is inactive.
10.4.5 TIO Counters (TIO0CT–TIO9CT)
TIO0 Counter (TIO0CT)
TIO1 Counter (TIO1CT)
TIO2 Counter (TIO2CT)
TIO3 Counter (TIO3CT)
TIO4 Counter (TIO4CT)
TIO5 Counter (TIO5CT)
TIO6 Counter (TIO6CT)
TIO7 Counter (TIO7CT)
TIO8 Counter (TIO8CT)
TIO9 Counter (TIO9CT)
<Address: H’0080 0300>
<Address: H’0080 0310>
<Address: H’0080 0320>
<Address: H’0080 0330>
<Address: H’0080 0340>
<Address: H’0080 0350>
<Address: H’0080 0360>
<Address: H’0080 0370>
<Address: H’0080 0380>
<Address: H’0080 0390>
b0
?
1
?
2
?
3
?
4
?
5
?
6
?
7
8
9
?
10
?
11
?
12
?
13
?
14
?
b15
?
TIO0CT–TIO9CT
?
?
<After reset: Undefined>
b
Bit Name
Function
R
W
0–15
TIO0CT–TIO9CT
16-bit reload counter value
R(Note 1)
Note 1: Protected against write during PWM output mode.
Note: • This register must always be accessed in halfwords.
The TIO counters are a 16-bit down-counter. After the timer is enabled (by writing to the enable bit in software or
by external input), the counter starts counting synchronously with the count clock.
These counters are protected against write during PWM output mode.
32180 Group User’s Manual (Rev.1.0)
10-109