EasyManuals Logo
Home>Renesas>Computer Hardware>M32R/ECU Series

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 #357 background imageLoading...
Page #357 background image
10
10-114
10.4 TIO (Input/Output-Related 16-Bit Timer)
MULTIJUNCTION TIMERS
32180 Group Users Manual (Rev.1.0)
10.4.9 Operation in TIO Measure Free-Run/ Clear Input Modes
(1) Outline of TIO measure free-run/ clear input modes
In measure free-run/ clear input modes, the timer is used to measure a duration of time from when the
counter starts counting till when an external capture signal is entered. An interrupt request can be generated
by a counter underflow or execution of a measure operation.
After the timer is enabled (by writing to the enable bit in software), the counter starts counting down synchro-
nously with the count clock. When a capture signal is entered from an external device, the counter value at
that point in time is written into a register called the measure register.
In measure clear input mode, the counter value is initialized to HFFFF upon capture, from which the counter
starts counting down again. When the counter underflows, it starts counting down from H'FFFF.
In measure free-run input mode, the counter continues counting down even after capture and upon under-
flow, recycles to HFFFF, from which it starts counting down again.
To stop the counter, disable count by writing to the enable bit in software.
Figure 10.4.6 Typical Operation in Measure Free-Run Input Mode
Count clock
Counter
H'FFFF
H'0000
Enabled
(by writing to
the enable bit)
TIO interrupt request
Measure event
(capture) occurs
Enable bit
Note:This diagram does not show detailed timing information.
Measure register
TIN interrupt request due to
external event input
TIO interrupt request due
to underflow
H'7000
H'9000
Measure event
(capture)
TIN interrupt request due to
external event input
TIN interrupt request
Undefined
value
H'7000Undefined H'9000

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