10
10-102
10.4 TIO (Input/Output-Related 16-Bit Timer)
MULTIJUNCTION TIMERS
32180 Group User’s Manual (Rev.1.0)
TIO0–3 Control Register 0 (TIO03CR0) <Address: H’0080 031A>
b01234567891011121314b15
TIO3EEN TIO2ENSTIO3M TIO2M TIO1M TIO0MTIO1ENS TIO0ENS
0000000000000000
<After 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: – ditto –
4 TIO2ENS 0: No selection 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: – ditto –
8 TIO1ENS 0: No selection 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: – ditto –
12 TIO0ENS 0: No selection 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: – 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.
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.