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 #320 background imageLoading...
Page #320 background image
10
10-77
MULTIJUNCTION TIMERS
10.3 TOP (Output-Related 16-Bit Timer)
32180 Group Users Manual (Rev.1.0)
10.3.7 TOP Correction Registers (TOP0CC–TOP10CC)
TOP0 Correction Register (TOP0CC) <Address: H0080 0246>
TOP1 Correction Register (TOP1CC) <Address: H0080 0256>
TOP2 Correction Register (TOP2CC) <Address: H0080 0266>
TOP3 Correction Register (TOP3CC) <Address: H0080 0276>
TOP4 Correction Register (TOP4CC) <Address: H0080 0286>
TOP5 Correction Register (TOP5CC) <Address: H0080 0296>
TOP6 Correction Register (TOP6CC) <Address: H0080 02A6>
TOP7 Correction Register (TOP7CC) <Address: H0080 02B6>
TOP8 Correction Register (TOP8CC) <Address: H0080 02C6>
TOP9 Correction Register (TOP9CC) <Address: H0080 02D6>
TOP10 Correction Register (TOP10CC) <Address: H0080 02E6>
b01234567891011121314b15
TOP0CC–TOP10CC
????????????????
(Acceptable range of values: +32,767 to 32,768)
<After reset: Undefined>
b Bit Name Function R W
0–15 TOP0CCTOP10CC 16-bit correction register value R W
Note: This register must always be accessed in halfwords.
The TOP correction registers are used to correct the TOP counter value by adding or subtracting in the middle
of operation. To increase or reduce the counter value, write to this correction register a value by which the
counter value is to be increased or reduced from its initial set value. To add, write the value to be added to the
correction register directly as is. To subtract, write the 2s complement of the value to be subtracted to the
correction register.
The counter is corrected synchronously with a clock pulse next to one at which the correction value was written
to the TOP correction register. If the counter is corrected this way, note that because one down count in that
clock period is canceled, the counter value actually is corrected by (correction register value + 1). For example,
if the initial counter value is 10 and the value 3 is written to the correction register when the counter has counted
down to 5, then the counter counts a total of 15 before it underflows.

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