English
Language : 

HD6417727BP160CV Datasheet, PDF (204/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 4 Exception Handling
• DMA Address error
⎯ Conditions:
a. Word data accessed from addresses other than word boundaries (4n + 1, 4n + 3)
b. Longword accessed from addresses other than longword boundaries (4n + 1, 4n + 2,
4n + 3)
⎯ Operations: The PC of the instruction immediately after the instruction executed before the
exception occurs is saved to the SPC. SR when the exception occurs is saved to SSR.
H'5C0 is set in EXPEVT. The BL, MD, and RB bits in SR are set to 1 and a branch occurs
to PC = VBR + H'0100.
4.5.3 Interrupts
1. NMI
Conditions: NMI pin edge detection
Operations: The PC and SR after the instruction that receives the interrupt are saved to the SPC
and SSR, respectively. H'1C0 is set to INTEVT and INTEVT2. The BL, MD, and RB bits of
the SR are set to 1 and a branch occurs to PC = VBR + H'0600. This interrupt is not masked by
SR.IMASK and received with top priority when the SR’s BL bit in SR is 0. When the BL bit is
1, the interrupt is masked. See section 7, Interrupt Controller (INTC), for more information.
2. IRL Interrupts
Conditions: The value of the interrupt mask bits in SR is lower than the IRL3 to IRL0 level
and the BL bit in SR is 0. The interrupt is accepted at an instruction boundary.
Operations: The PC value after the instruction at which the interrupt is accepted is saved to the
SPC. SR at the time the interrupt is accepted is saved to SSR. The code corresponding to the
IRL3 to IRL0 level is set in INTEVT and INTEVT2. The corresponding code is given as
H'200 + [IRL3 to IRL0] × H'20. See table 7.5, for the corresponding codes. The BL, MD, and
RB bits in SR are set to 1 and a branch occurs to VBR + H'0600. The received level is not set
in SR.IMASK. See section 7, Interrupt Controller (INTC), for more information.
3. IRQ Pin Interrupts
Conditions: IRQ pin is asserted and SR.IMASK is lower than the IRQ priority level and the
BL bit in SR is 0. The interrupt is accepted at an instruction boundary.
Operations: The PC value after the instruction at which the interrupt is accepted is saved to the
SPC. The SR at the point the interrupt is accepted is saved to the SSR. The code corresponding
to the interrupt source is set to INTEVT and INTEVT2. The BL, MD, and RB bits of the SR
are set to 1 and a branch occurs to VBR + H'0600. The received level is not set to SR.IMASK.
See section 7, Interrupt Controller (INTC), for more information.
Rev.6.00 Mar. 27, 2009 Page 146 of 1036
REJ09B0254-0600