English
Language : 

32172 Datasheet, PDF (668/875 Pages) Renesas Technology Corp – 32-bit RISC Single-chip Microcomputers
15
PD MODULE
15.2 PD Module Related Registers
s Prescaler Register 0C (PRS0C)
s Prescaler Register 1C (PRS1C)
D0
1
2
3
4
5
PRS0C, PRS1C
<Address: H'0080 1840>
<Address: H'0080 1880>
6
D7
D
Bit Name
0-7
PRS0C, PRS1C
Function
Sets the prescaler's divide-by value
<When reset: H'00>
RW
These prescalers generate count clocks for the TEPiP and TEPiM counters from the internal
peripheral clock (20.0 MHz when the CPU clock = 40 MHz) by dividing it by an appropriate value.
When the value of Prescaler Register 0C or 1C is rewritten while the TEPiP/TEPiM counter is
operating, the prescaler starts operating with the new value simultaneously when the prescaler
underflows.
Note 1: The PRS0C (PRS1C) starts generating a clock after the TEP0P (TEM1P) Control
Register TEP0PEN (TEM1PEN) bit is set to 1.
Note 2: When using the TEPiP/TEPiM counters along with PD sensors, make sure the set
values of the prescalers (PRS0C, PRS1C) are H'00.
15-9
Rev.1.0