![](http://datasheet.mmic.net.cn/120000/M30833MJFP_datasheet_3558608/M30833MJFP_248.png)
Under
development
Preliminary Specifications REV.B3
Specifications in this manual are tentative and subject to change.
Mitsubishi Microcomputers
M32C/83 group
SINGLE-CHIP 16/32-BIT CMOS MICROCOMPUTER
Intelligent I/O
247
Figure 1. 23. 12. Time measurement-related register (1)
Time measurement (group 0 and 1)
Synchronizes external trigger input and stores the base timer value in the time measurement register j.
Specifications for the time measurement function are given in Table 1.23.3, the time measurement control
registers in Figures 1.23.12 to 1.23.13, and the operating timing of the time measurement function in Figure
1.23.14 and 15.
Group i time measurement control register j (i=0,1/j=0 to 7) (Note 1)
Symbol
Address
When reset
GiTMCRj(i=0/j=0 to 3)
00D816, 00D916, 00DA16, 00DB16
0016
GiTMCRj(i=0/j=4 to 7)
00DC16, 00DD16, 00DE16, 00DF16
0016
GiTMCRj(i=1/j=1, 2)
011916, 011A16
0016
GiTMCRj(i=1/j=6, 7)
011E16, 011F16
0016
RW
Bit name
Function
Bit
symbol
CTS0
CTS1
DF0
Time measurement
trigger select bit
DF1
Gate function
select bit
GT
GOC
PR
GSC
Digital filter function
select bit
Gate function release
select bit
0 : Gate function not used
1 : Gate function used
Gate function release
bit
Prescaler function
select bit
b1
0
1
b0
0
1
0
1
: No time measurement
: Rising edge
: Falling edge
: Both edges
b3
0
1
b2
0
1
0
1
: No digital filter
: Must not be set
: Base timer clock
: f1
(Note 2, 4)
(Note 2, 3)
(Note 2)
0 : No effect
1 : Release the gate when it
matches WG register
0 : No effect
1 : Gate released
0 : Not used
1 : Used
Note 1: The 16-bit time measurement function is available for 8 channels (ch0 to 7) with group 0 and 4 channels
(ch1, 2, 6 and 7) with group 1. When using the 16-bit time measurement function, use the time
measurement register values for ch0, 3, 4 and 5 of group 1 as they are, or, if writing values, write "0016".
The 32-bit time measurement function can be used with 8 channels (ch0 to 7) by linking groups 0 and 1.
When using the 32-bit time measurement function, write the same value for time measurement registers
of similar channels in groups 0 and 1.
Note 2: These functions are available only for time measurement ch6 and 7 (time measurement registers 6
and 7). For ch0 to 5, set "0" for bits 4 to 7 of the time measurement register.
Note 3: These bits are valid only when "1" is set for the gate function select bit.
Note 4: The gate function cannot be used at the same time as the 32-bit time measurement function.
(Note 2, 3)
WG: Waveform Generation
b7
b0