Download Print this page

Renesas M16C/50 Series User Manual page 94

Advertisement

M16C/5L Group, M16C/56 Group
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
Table 5.1
Registers
Address
000Ah
Protect Register
5.2.1
Protect Register (PRCR)
Protect Register
b7
b6 b5 b4
b3
b2
b1
0
0
0
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Register
Symbol
b0
PRCR
Bit Symbol
Bit Name
PRC0
Protect bit 0
Protect bit 1
PRC1
PRC2
Protect bit 2
PRC3
Protect bit 3
Reserved bits
(b5-b4)
PRC6
Protect bit 6
Reserved bit
(b7)
Symbol
PRCR
Address
000Ah
Function
Enable write access to registers CM0, CM1,
CM2, PLC0, PCLKR, FRA0, and FRA2
0: Write disabled
1: Write enabled
Enable write access to registers PM0, PM1,
PM2, TB2SC, INVC0, and INVC1
0: Write disabled
1: Write enabled
Enable write access to registers PD9, U4MR,
NDDR, and PACR
0: Write disabled
1: Write enabled
Enable write access to registers VCR2, VWCE,
VD2LS, VW0C, and VW2C
0: Write disabled
1: Write enabled
Set to 0.
Enable write to the PRG2C register
0: Write disabled
1: Write enabled
Set to 0.
5. Protection
Reset Value
00h
Reset value
00h
RW
RW
RW
RW
RW
RW
RW
RW
Page 57 of 803

Advertisement

loading