
Rev.2.10 Apr 14, 2006 page 40 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 6. Processor Mode
Figure 6.1 PM0 Register
NOTES:
1. Rewrite this register after setting the PRC1 bit in the PRCR register to 1 (write enabled).
2. Bits PM01 to PM00 do not change at software reset, watchdog timer reset and oscillation stop detection reset.
* Effective in memory expansion and microprocessor modes (= Normal-ver.)
3. Effective when bits PM01 to PM00 are set to 01b (memory expansion mode) or 11b (microprocessor mode).
* Not available memory expansion and microprocessor modes in T/V-ver.. These bits are reserved bit in
T/V-ver., and set to 0.
4. To set bits PM01 to PM00 are 01b and bits PM05 to PM04 are 11b (multiplexed bus assigned to the entire
CS space), apply an "H" signal to the BYTE pin (external data bus is 8-bit width).
While the CNVSS pin is held "H" (VCC), do not rewrite the PM05 to PM04 bits to 11b after reset.
If bits PM05 to PM04 are set to 11b during memory expansion mode, P3_1 to P3_7 and P4_0 to P4_3 become
I/O ports, in which case the accessible area for each CS is 256 bytes.
* Not available memory expansion and microprocessor modes in T/V-ver..
5. Not available in T/V-ver.. Do not set a value.
Processor Mode Register 0
(1)
Symbol Address
Function
b7 b6 b5 b4 b3 b2 b1 b0
PM0 0004h
Processor mode bit
(2)
R/W mode select bit
(3)
Software reset bit
Multiplexed bus space
select bit
(3)
BCLK output disable
bit
(3)
PM03
PM01
PM00
PM02
PM04
PM05
PM06
PM07
RW
RW
RW
RW
RW
RW
RW
RW
RW
Port P4_0 to P4_3 function
select bit
(3)
0 0 : Single-chip mode
0 1 : Memory expansion mode
(5)
1 0 : Do not set a value
1 1 : Microprocessor mode
(5)
b1 b0
0 : RD, BHE, WR
1 : RD, WRH, WRL
Setting this bit to 1 resets the
MCU.
When read, the content is 0.
.
0 0 : Multiplexed bus is unused
(Separate bus in the entire CS space)
0 1 : Allocated to CS2 space
1 0 : Allocated to CS1 space
1 1 :
Allocated to the entire CS space
(4)
b5 b4
0 : Address output
1 : Port function
(Address is not output)
0 : BCLK is output
1 : BCLK is not output
(Pin is left high-impedance)
After Reset
(2)
00000000b (CNVSS pin = L)
00000011b (CNVSS pin = H)
(5)
Bit Name
Bit Symbol
Comentários a estes Manuais