RX13T Group
12.
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 12.1 lists the association between the PRCR bits and the registers to be protected.
Table 12.1
Association between PRCR Bits and Registers to be Protected
PRCR Bit
Register to be Protected
Registers related to the clock generation circuit:
PRC0
SCKCR, SCKCR3, PLLCR, PLLCR2, MOSCCR, LOCOCR, ILOCOCR, HOCOCR, OSTDCR, OSTDSR, LOCOTRR,
ILOCOTRR, HOCOTRR0
Register related to the operating modes:
PRC1
SYSCR1
Registers related to low power consumption functions:
SBYCR, MSTPCRA, MSTPCRB, MSTPCRC, OPCCR
Registers related to the clock generation circuit:
MOFCR, MOSCWTCR
Software reset register:
SWRR
Registers related to the LVD:
PRC3
LVCMPCR, LVDLVLR, LVD1CR0, LVD1CR1, LVD1SR, LVD2CR0, LVD2CR1, LVD2SR
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
12. Register Write Protection Function
Page 187 of 1041