User's Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 264 of 1852
Nov 30, 2020
RX23W Group 13. Register Write Protection Function
13. Register Write Protection Function
The register write protection function protects important registers from being overwritten for in case a program runs out
of control. The registers to be protected are set with the protect register (PRCR).
Table 13.1 lists the association between the PRCR bits and the registers to be protected.
Table 13.1 Association between PRCR Bits and Registers to be Protected
PRCR Bit Register to be Protected
PRC0 Registers related to the clock generation circuit:
SCKCR, SCKCR3, PLLCR, PLLCR2, MOSCCR, SOSCCR, LOCOCR, ILOCOCR, HOCOCR, OSTDCR, OSTDSR,
CKOCR, UPLLCR, UPLLCR2, HOCOCR2, MEMWAIT, LOCOTRR, ILOCOTRR, HOCOTRR0, HOCOTRR3
PRC1
Register related to the operating modes:
SYSCR1
Registers related to low power consumption functions:
SBYCR, MSTPCRA, MSTPCRB, MSTPCRC, MSTPCRD, OPCCR, RSTCKCR, SOPCCR
Registers related to the clock generation circuit:
MOFCR, MOSCWTCR
Software reset register:
SWRR
PRC2
Registers related to the low power timer:
LPTCR1, LPTCR2, LPTCR3, LPTPRD, LPCMR0, LPWUCR
PRC3
Registers related to the LVD:
LVCMPCR, LVDLVLR, LVD1CR0, LVD1CR1, LVD1SR
Registers related to the battery backup function:
VBATTCR, VBATTSR, VBTLVDICR