Renesas M32R/ECU Series User Manual page 816

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

Advertisement

Appendix 4
Appendix 4.8.10 Precautions on Using TML Measure Input
The following describes precautions to be observed when using TML measure input.
• If measure event input and write to the counter occur in the same clock period, the write value is set in the
counter, whereas the up-count value (before being rewritten) is latched into the measure register.
• If clock bus 1 is selected and any clock other than BCLK/2 is used for the timer, the counter cannot be
written normally. Therefore, when using any clock other than BCLK/2, do not write to the counter.
• If clock bus 1 is selected and any clock other than BCLK/2 is used for the timer, the value captured into the
measure register is one count larger the counter value. During the count clock to BCLK/2 period interval,
however, the captured value is exactly the counter value.
The diagram below shows the relationship between counter operation and the valid data that can be captured.
• When BCLK/2 is selected
BCLK/2
Counter
Captured
• When clock bus 1 is selected
BCLK/2
Count clock
Counter
Captured
Figure 4.8.3 Mistimed Counter Value and the Captured Value
Appendix 4.8 Precautions about the Multijunction Timers
A
B
C
A
B
C
A
B
Appendix 4-11
SUMMARY OF PRECAUTIONS
D
E
D
E
B
C
C
D
32180 Group User's Manual (Rev. 1.0)
F
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents