Protection; Introduction; Register; Protect Register (Prcr) - Renesas M16C/64A Series User Manual

Table of Contents

Advertisement

M16C/64A 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
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
Register
Symbol
b0
PRCR
Bit Symbol
Bit Name
PRC0
Protect bit 0
PRC1
Protect bit 1
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 writing to registers CM0, CM1, CM2,
PLC0, and PCLKR
0 : Write protected
1 : Write enabled
Enable writing to registers PM0, PM1, PM2,
TB2SC, INVC0, and INVC1
0 : Write protected
1 : Write enabled
Enable writing to registers PD9, S3C, and
S4C
0 : Write protected
1 : Write enabled
Enable writing to registers VCR2, VWCE,
VD1LS, VW0C, VW1C, and VW2C
0 : Write protected
1 : Write enabled
Set to 0
Enable writing to the PRG2C register
0 : Write protected
1 : Write enabled
Set to 0
5. Protection
Reset Value
00h
After Reset
00h
RW
RW
RW
RW
RW
RW
RW
RW
Page 40 of 800

Advertisement

Table of Contents
loading

Table of Contents