EasyManuals Logo

Renesas M32R/ECU Series User Manual

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #390 background imageLoading...
Page #390 background image
10
10-147
MULTIJUNCTION TIMERS
10.7 TID (Input-Related 16-Bit Timer)
32180 Group Users Manual (Rev.1.0)
(3) Multiply-by-4 event count mode
In multiply-by-4 event count mode, the timer uses two external input signals in pairs (TIN24 and TIN25,
TIN26 and TIN27, or TIN28 and TIN29) as the clock sources for the counter. The count direction is switched
between up-count and down-count depending on the status of the two input signals.
By detecting the rising and falling edges on both of the two external input signals, the timer generates clock
pulses synchronized to the microcomputers internal clock. When after setting the counter the timer is en-
abled (by writing to the enable bit in software), the counter starts counting synchronously with the generated
clock. To know whether the counter counts up or counts down, see Table 10.7.2 below.
An interrupt request can be generated when the counter underflows or overflows.
To stop the counter, disable count by writing to the enable bit in software or fix the external input signals
either "high" or "low".
Table 10.7.2 Count Direction during Multiply-by-4 Event Count Mode
TIN24
(TIN26, TIN28)
TIN25
(TIN27, TIN29)
Input
H
H
L
L
H
L
L
H
Up-count Down-count
Count Direction

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals