h8s-2628 Renesas Electronics Corporation., h8s-2628 Datasheet - Page 100

no-image

h8s-2628

Manufacturer Part Number
h8s-2628
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 4 Exception Handling
4.3.3
After reset release, MSTPCRA to MSTPCRC are initialized to H'3F, H'FF, and H'FF, respectively,
and all modules except the DTC enter module stop mode. Consequently, on-chip peripheral
module registers cannot be read or written to. Register reading and writing is enabled when the
module stop mode is cancelled.
4.4
Traces are enabled in interrupt control mode 2. Trace mode is not activated in interrupt control
mode 0, irrespective of the state of the T bit. For details of interrupt control modes, see section 5,
Interrupt Controller.
If the T bit in EXR is set to 1, trace mode is activated. In trace mode, a trace exception occurs on
completion of each instruction. Trace mode is not affected by interrupt mask bit in CCR. Table 4.3
shows the states of CCR and EXR after execution of trace exception handling. Trace mode is
cancelled by clearing the T bit in EXR to 0 with the trace exception handling. The T bit saved on
the stack retains its value of 1, and when control is returned from the trace exception handling
routine by the RTE instruction, trace mode resumes. Trace exception handling is not carried out
after execution of the RTE instruction.
Interrupts are accepted even within the trace exception handling routine.
Table 4.3
Legend:
1:
0:
—: Retains value prior to execution
Rev. 3.00 Oct 04, 2005 page 60 of 598
REJ09B0155-0300
Interrupt Control Mode
Set to 1
Cleared to 0
State of On-Chip Peripheral Modules after Reset Release
Traces
Statuses of CCR and EXR after Trace Exception Handling
0
2
1
I
Trace exception handling cannot be used.
CCR
UI
I2 to I0
EXR
T
0

Related parts for h8s-2628