
10.4 TIO (Input/Output-Related 16-Bit Timer)
MULTIJUNCTION TIMERS
10
10-105
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
10.4.5 TIO Counters (TIO0CT–TIO9CT)
TIO0 Counter (TIO0CT)
<Address: H’0080 0300>
TIO1 Counter (TIO1CT)
<Address: H’0080 0310>
TIO2 Counter (TIO2CT)
<Address: H’0080 0320>
TIO3 Counter (TIO3CT)
<Address: H’0080 0330>
TIO4 Counter (TIO4CT)
<Address: H’0080 0340>
TIO5 Counter (TIO5CT)
<Address: H’0080 0350>
TIO6 Counter (TIO6CT)
<Address: H’0080 0360>
TIO7 Counter (TIO7CT)
<Address: H’0080 0370>
TIO8 Counter (TIO8CT)
<Address: H’0080 0380>
TIO9 Counter (TIO9CT)
<Address:H’0080 0390>
<Upon exiting reset: Undefined>
b
Bit Name
Function
R
W
0–15
TIO0CT–TIO9CT
16-bit counter value
R(Note 1)
Note 1: Protected against write during PWM output mode.
Note: These registers 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.
TIO9 Control Register (TIO9CR)
<Address: H’0080 038B>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
No function assigned. Fix to "0."
00
9, 10
TIO9CKS
00: Clock bus 0
R
W
TIO9 clock source select bit
01: Clock bus 1
10: Clock bus 2
11: Clock bus 3
11, 12
TIO9ENS
00: Do not use enable/measure input source
R
W
TIO9 enable/measure input source select bit
01: External input TIN11
10: Input event bus 1
11: Input event bus 3
13–15
TIO9M
000: Single-shot output mode
R
W
TIO9 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: Operation mode can only be set or changed while the counter is inactive.
b8
9
10
11121314
b15
TIO9CKS
TIO9ENS
TIO9M
000
00000
b0
12
34
56
78
9
10
11
12
13
14
b15
TIO0CT–TIO9CT
??
?
??
?