Mitsubishi Electric M32R Series User Manual page 382

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10
TIO4 Control Register (TIO4CR)
D0
TIO4CKS
D
Bit Name
0, 1
TIO4CKS
(TIO4 clock source selection)
2
TIO4EEN (Note 1)
(TIO4 external input enable)
3,4
TIO34ENS
(TIO3,4 enable/measure
input source selection)
5-7
TIO4M
(TIO4 operation mode selection)
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 to
the measure register. However, because in measure clear input mode, if this bit = 0 (external input
disabled), the counter value is not initialized (H'FFFF) upon capture, we recommend that this bit be
set to 1 (external input enabled) when using measure clear input mode.
Note 2: Always make sure the counter has stopped and is idle before setting or changing operation modes.
1
2
3
TIO4EEN
TIO34ENS
10-112
MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-related 16-bit Timer)
<Address:H'0080 034A>
4
5
6
TIO4M
Function
00: Clock bus 0
01: Clock bus 1
10: Clock bus 2
11: Clock bus 3
0: Disables external input
1: Enables external input
0X: External input TIN6
10: Input event bus 2
11: Input event bus 3
000: Single-shot output mode
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
11X: Noise processing input mode
D7
<When reset:H'00>
R
W
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents