R01UH0092EJ0110 Rev.1.10
Page 40 of 807
Jul 31, 2012
M16C/64C Group
5. Protection
5.
Protection
5.1
Introduction
In the event that a program runs out of control, this function protects the important registers so that they
will not be rewritten easily.
5.2
Register
5.2.1
Table 5.1
Registers
Address
Register
Symbol
Reset Value
b7
0
0
0
b6 b5 b4
b1
b2
b3
Protect Register
Symbol
PRCR
Address
000Ah
Bit Symbol
RW
After Reset
00h
b0
—
(b5-b4)
RW
PRC6
RW
—
(b7)
RW
PRC0
RW
PRC1
RW
PRC2
RW
PRC3
RW
Bit Name
Reserved bits
Protect bit 6
Reserved bit
Protect bit 0
Protect bit 1
Protect bit 2
Protect bit 3
Function
Set to 0
Enable writing to the PRG2C register
0 : Write protected
1 : Write enabled
Set to 0
0 : Write protected
1 : Write enabled
Enable writing to registers PM0, PM1, PM2,
TB2SC, INVC0, and INVC1
0 : Write protected
1 : Write enabled
0 : Write protected
1 : Write enabled
0 : Write protected
1 : Write enabled
Enable writing to registers PD9, S3C, and
S4C
Enable writing to registers CM0, CM1, CM2,
PLC0, PCLKR, and PCLKSTP1
Enable writing to registers VCR2, VWCE,
VD1LS, VW0C, VW1C, and VW2C
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...