beautypg.com

2 exception event register (expevt), 3 interrupt event register 2 (intevt2) – Renesas SH7641 User Manual

Page 249

background image

Section 9 Exception Handling

Rev. 4.00 Sep. 14, 2005 Page 199 of 982

REJ09B0023-0400

9.1.2

Exception Event Register (EXPEVT)

EXPEVT is assigned to address H'FFFFFFD4 and consists of a 12-bit exception code. Exception
codes to be specified in EXPEVT are those for resets and general exceptions. These exception
codes are automatically specified the hardware when an exception occurs. Only bits 11 to 0 of
EXPEVT can be re-written using the software.

Bit Bit

Name

Initial
Value R/W Description

31 to 12

 All

0

R

Reserved

These bits are always read as 0. The write value
should always be 0.

11 to 0

EXPEVT

*

R/W

12-Bit Exception Code

Note: * Initialized to H'000 at power-on reset and H'020 at manual reset.

9.1.3 Interrupt

Event

Register 2 (INTEVT2)

INTEVT2 is assigned to address H'A4000000 and consists of a 12-bit exception code. Exception
codes to be specified in INTEVT2 are those for interrupt requests. These exception codes are
automatically specified by the hardware when an exception occurs. INTEVT2 cannot be modified
using the software.

Bit Bit

Name

Initial
Value R/W Description

31 to 12

 All

0

R

Reserved

These bits are always read as 0. The write value
should always be 0.

11 to 0

INTEVT2

R/W

12-Bit Exception Code

Note: Initialized to H'000 at power-on reset and H'020 at manual reset.

This manual is related to the following products: