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 #255 background imageLoading...
Page #255 background image
10
10-12
MULTIJUNCTION TIMERS
10.2 Common Units of Multijunction Timers
32180 Group Users Manual (Rev.1.0)
10.2.2 Prescaler Unit
The Prescalers PRS05 area an 8-bit counter, which generates clocks supplied to each timer (TOP, TIO, TMS,
TML, TID and TOU) from the internal peripheral clock (BCLK) divided by 2 (10 MHz when f(BCLK) = 20 MHz).
The values of prescaler registers are initialized to H00 immediately after reset. When the set value of any
prescaler register is rewritten, the prescaler starts operating with the new value at the same time it has
underflowed.
Values H00 to HFF can be set in the prescaler register. The prescalers divide-by ratio is given by the equation
below:
Prescaler divide-by ratio =
1
prescaler set value + 1
Prescaler Register 0 (PRS0) <Address: H0080 0202>
Prescaler Register 1 (PRS1) <Address: H0080 0203>
Prescaler Register 2 (PRS2) <Address: H0080 0204>
Prescaler Register 3 (PRS3) <Address: H0080 07D0>
Prescaler Register 4 (PRS4) <Address: H0080 0BD0>
Prescaler Register 5 (PRS5) <Address: H0080 0CD0>
9 1011121314b15b8
123456b7b0
PRS0–PRS5
00000000
<After reset: H00>
b Bit Name Function R W
0–7 PRS0PRS5 Set the prescaler divide-by value R W
(815) Prescaler
Prescaler Registers 02 start counting immediately after reset. Prescaler Registers 35 each are activated by
setting the TID0 Control & Prescaler 3 Enable Register, TID1 Control & Prescaler 4 Enable Register or TID2
Control & Prescaler 5 Enable Registers prescaler-n enable (PRSnEN) bit to "1" (count start), upon which the
prescaler register value is reloaded and the prescaler starts counting. For details, see Section 10.7, TID (Input-
Related 16-Bit Timer).
If the prescaler register is accessed for read during operation, the value written into it, not the current count, is
read out.

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