R8C/18 Group, R8C/19 Group
8. Processor Mode
Rev.1.30
Apr 14, 2006
Page 51 of 233
REJ09B0222-0130
8.
Processor Mode
8.1
Processor Modes
Single-chip mode can be selected as the processor mode. Table 8.1 lists Features of Processor Mode.
Figure 8.1 shows the PM0 Register and Figure 8.2 shows the PM1 Register.
Figure 8.1
PM0 Register
Figure 8.2
PM1 Register
Table 8.1
Features of Processor Mode
Processor Mode
Accessible Areas
Pins Assignable as I/O Port Pins
Single-chip mode
SFR, internal RAM, internal ROM All pins are I/O ports or peripheral function
I/O pins.
Processor Mode Register 0
(1)
Symbol
Address
After Reset
PM0
0004h
00h
Bit Symbol
Bit Name
Function
RW
NOTE:
1.
b3 b2
—
b1 b0
0 0
0
—
(b2-b0)
b7 b6 b5 b4
RW
Reserved bits
Set to 0.
Set the PRC1 bit in the PRCR register to 1 (w rite enable) before rew riting the PM0 register.
The MCU is reset w hen this bit is set to 1.
When read, the content is 0.
RW
—
(b7-b4)
PM03
Softw are reset bit
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
Processor Mode Register 1
(1)
Symbol
Address
After Reset
PM1
0005h
00h
Bit Symbol
Bit Name
Function
RW
NOTES:
1.
2.
—
The PM12 bit is set to 1 by a program (and remains unchanged even if 0 is w ritten to it).
When the CSPRO bit in the CSPR register is set to 1 (count source protect mode enabled), the PM12 bit is
automatically set to 1.
Reserved bit
Set to 0.
Nothing is assigned. If necessary, set to 0.
When read, the content is undefined.
Set the PRC1 bit in the PRCR register to 1 (w rite enable) before rew riting the PM1 register.
—
(b6-b3)
PM12
WDT interrupt/reset sw itch bit
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
—
(b7)
RW
b3 b2
—
b1 b0
0
0 : Watchdog timer interrupt
1 : Watchdog timer reset
(2)
RW
b7 b6 b5 b4
0
—
(b1)
RW
Reserved bit
Set to 0.
—
(b0)