R01UH0823EJ0100 Rev.1.00 Page 256 of 1823
Jul 31, 2019
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