Mitsubishi Electric M32R Series User Manual page 379

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

Advertisement

10
TIO0-3 Control Register 0 (TIO3CR0)
D0
1
2
TIO3
TIO3M
EEN
D
Bit Name
0
TIO3EEN (TIO3 external input enable)
(Note 2)
1-3
TIO3M (TIO3 operation mode selection)
4
TIO2ENS (TIO2 enable/
measure input source selection)
5-7
TIO2M
(TIO2 operation mode selection)
8
TIO1ENS (TIO1 enable/
measure input source selection)
Note 1: To select the TIO3 enable/measure input source, use the TIO4 Control Register's TIO34ENS (TIO3,
TIO4 enable/measure input source selection) bit.
Note 2: 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 3: This register must always be accessed in halfwords.
Note 4: Always make sure the counter has stopped and is idle before setting or changing operation modes.
3
4
5
6
TIO2
TIO2M
ENS
10-109
MULTIJUNCTION TIMERS
10.4 TIO (Input/Output-related 16-bit Timer)
7
8
9
10
11
TIO1
TIO1M
ENS
Function
0: Disables external input
1: Enables external input
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
0: No selection
1: External input TIN5
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
0: No selection
1: External input TIN4
<Address:H'0080 031A>
12
13
14
D15
TIO0
TIO0M
ENS
<When reset:H'0000>
R
(Continues to the next page)
Ver.0.10
W

Advertisement

Table of Contents
loading

Table of Contents