How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 819 of 1852
Nov 30, 2020
RX23W Group 29. Low-Power Timer (LPT)
29.2.4 Low-Power Timer Period Setting Register (LPTPRD)
Note: Set the PRCR.PRC2 bit to 1 (write enabled) before rewriting this register.
Note: Rewrite this register while the LPTCR3.LPCNTEN bit is 0 (low-power timer counter stops).
The LPTPRD register is used to set the period of the low-power timer.
The period of the low-power timer is proportional to “LPTPRD + 1” and calculated by the following formula:
Period of low-power timer = period of clock source × division ratio × (LPTPRD + 1)
When the value of the low-power timer counter matches the set value, the counter is cleared to 0000h and continues
counting.
Do not set this register to 0000h.
Table 29.2, and Table 29.3 list examples of setting the periods of the low-power timer. These examples show values
most approximate to the periods.
Address(es): LPT.LPTPRD 0008 00B4h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
LPCNTPRD[15:0]
Value after reset:
1111111111111111
Bit Symbol Bit Name Description R/W
b15 to b0 LPCNTPRD[15:0] Low-Power Timer Period
Setting
Set the period of the low-power timer.
Setting range: 0001h to FFFFh
R/W