CHAPTER 13 RESET FUNCTION
594
User’s Manual U15195EJ5V0UD
13.3 Initialization
Initialize the contents of each register as needed within the program.
Table 13-2 shows the initial values of the CPU, internal RAM, and on-chip peripheral I/O after reset.
Table 13-2. Initial Values of CPU, Internal RAM, and On-Chip Peripheral I/O After Reset (1/5)
On-Chip Hardware
Register Name
Initial Value After Reset
General-purpose register (r0)
00000000H
General-purpose registers (r1 to r31)
Undefined
Program
registers
Program counter (PC)
00000000H
Status save registers during interrupt (EIPC, EIPSW)
Undefined
Status save registers during NMI (FEPC, FEPSW)
Undefined
Interrupt cause register (ECR)
00000000H
Program status word (PSW)
00000020H
Status save registers during CALLT execution (CTPC, CTPSW)
Undefined
Status save registers during exception/debug trap (DBPC, DBPSW)
Undefined
CPU
System
registers
CALLT base pointer (CTBP)
Undefined
Internal RAM
−
Undefined
Chip area selection control register n (CSCn) (n = 0, 1)
2C11H
Bus size configuration register (BSC)
5555H
Bus control
function
System wait control register (VSWC)
77H
Bus cycle type configuration register n (BCTn) (n = 0,1)
CCCCH
Data wait control register n (DWCn) (n = 0,1)
3333H
Address wait control register (AWC)
0000H
Memory
control
function
Bus cycle control register (BCC)
AAAAH
DMA source address register nL (DSAnL) (n = 0 to 3)
Undefined
DMA source address register nH (DSAnH) (n = 0 to 3)
Undefined
DMA destination address register nL (DDAnL) (n = 0 to 3)
Undefined
DMA destination address register nH (DDAnH) (n = 0 to 3)
Undefined
DMA transfer count register n (DBCn) (n = 0 to 3)
Undefined
DMA addressing control register n (DADCn) (n = 0 to 3)
0000H
DMA channel control register n (DCHCn) (n = 0 to 3)
00H
DMA disable status register (DDIS)
00H
DMA restart register (DRST)
00H
DMA function
DMA trigger source register n (DTFRn) (n = 0 to 3)
00H
In service priority register (ISPR)
00H
External interrupt mode register n (INTMn) (n = 0 to 2)
00H
Interrupt mask register n (IMRn) (n = 0 to 3)
FFFFH
Interrupt mask register nL (IMRnL) (n = 0 to 3)
FFH
Interrupt mask register nH (IMRnH) (n = 0 to 3)
FFH
On-chip
peripheral
I/O
Interrupt/
exception
control function
Signal edge selection register 10 (SESA10)
00H