CHAPTER 15 RESET FUNCTIONS
User’s Manual U14359EJ4V0UM
506
15.3 Initialization
Initialize the contents of each register as necessary while programming.
The initial values of the CPU, internal RAM, and on-chip peripheral I/O after a reset are shown in Table 15-2.
Table 15-2. Initial Value of CPU, Internal RAM, and On-Chip Peripheral I/O After Reset (1/3)
Internal 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 saving registers during interrupt (EIPC, EIPSW)
Undefined
Status saving registers during NMI (FEPC, FEPSW)
Undefined
Interrupt source register (ECR)
00000000H
Program status word (PSW)
00000020H
Status saving registers during CALLT execution (CTPC, CTPSW)
Undefined
Status saving registers during exception/debug trap (DBPC, DBPSW)
Undefined
CPU
System registers
CALLT base pointer (CTBP)
Undefined
Internal RAM
−
Undefined
Ports (P0 to P5, P7, PAL, PAH, PDL, PCS, PCT, PCM, PCD, PBD)
Undefined
Mode registers (PM0 to PM5, PMCS, PMCT, PMCM, PMCD,
PMBD)
FFH
Mode registers (PMAL, PMAH, PMDL)
FFFFH
Mode control registers (PMC0, PMC1, PMC3 to PMC5, PMCBD)
00H
Mode control register (PMC2)
01H
Mode control registers (PMCAL, PMCDL)
0000H/FFFFH
Mode control register (PMCAH)
0000H/03FFH
Mode control register (PMCCS)
00H/FFH
Mode control register (PMCCT)
00H/F3H
Mode control register (PMCCM)
00H/3FH
Mode control register (PMCCD)
00H/0FH
Port functions
Function control registers (PFC0, PFC2 to PFC4, PFCCS, PFCCM,
PFCCD)
00H
Timer Cn (TMCn) (n = 0 to 3)
0000H
Capture/compare registers Cn0 and Cn1 (CCCn0 and CCCn1)
(n = 0 to 3)
0000H
Timer mode control register Cn0 (TMCCn0) (n = 0 to 3)
00H
Timer mode control register Cn1 (TMCCn1) (n = 0 to 3)
20H
Timer Dn (TMDn) (n = 0 to 3)
0000H
Compare register (CMDn) (n = 0 to 3)
0000H
On-chip
peripheral
I/O
Timer/counter
functions
Timer mode control register Dn (n = 0 to 3)
00H
Содержание V850E/MA1
Страница 2: ...2 User s Manual U14359EJ4V0UM MEMO...