11. Protection - Renesas R8C/18 Series Hardware Manual

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 Group

11. Protection

The protection function protects important registers from being easily overwritten when a program runs out
of control. Figure 11.1 shows the PRCR Register. The registers protected by the PRCR register are listed
below.
• Registers protected by PRC0 bit: Registers CM0, CM1, OCD, HRA0, HRA1, and HRA2
• Registers protected by PRC1 bit: Registers PM0 and PM1
• Registers protected by PRC3 bit: Registers VCA2, VW1C, and VW2C
Protect Register
b7 b6 b5 b4
b3 b2 b1 b0
0 0
0
Figure 11.1
PRCR Register
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
Symbol
Address
000Ah
PRCR
Bit Symbol
Bit Name
Protect bit 0
PRC0
Protect bit 1
PRC1
Reserved bit
(b2)
Protect bit 3
PRC3
Reserved bits
(b5-b4)
Reserved bits
(b7-b6)
Page 71 of 233
After Reset
00h
Function
Writing to registers CM0, CM, OCD, HRA0, HRA1,
and HRA2 is enabled.
0 : Disables w riting
1 : Enables w riting
Writing to registers PM0 and PM1 is enabled.
0 : Disables w riting
1 : Enables w riting
Set to 0.
Writing to registers VCA2, VW1C, and VW2C is
enabled.
0 : Disables w riting
1 : Enables w riting
Set to 0.
When read, the content is 0.
11. Protection
RW
RW
RW
RW
RW
RW
RO

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents