![Hitachi H8/3935 Hardware Manual Download Page 75](http://html.mh-extra.com/html/hitachi/h8-3935/h8-3935_hardware-manual_140486075.webp)
63
3.3.2
Interrupt Control Registers
Table 3-3 lists the registers that control interrupts.
Table 3-3
Interrupt Control Registers
Name
Abbreviation
R/W
Initial Value
Address
IRQ edge select register
IEGR
R/W
H'E0
H'FFF2
Interrupt enable register 1
IENR1
R/W
H'00
H'FFF3
Interrupt enable register 2
IENR2
R/W
H'00
H'FFF4
Interrupt request register 1
IRR1
R/W
*
H'20
H'FFF6
Interrupt request register 2
IRR2
R/W
*
H'00
H'FFF7
Wakeup interrupt request register
IWPR
R/W
*
H'00
H'FFF9
Wakeup edge select register
WEGR
R/W
H'00
H'FF90
Note:
*
Write is enabled only for writing of 0 to clear a flag.
1. IRQ edge select register (IEGR)
Bit
Initial value
Read/Write
7
—
1
—
6
—
1
—
5
—
1
—
4
IEG4
0
R/W
3
IEG3
0
R/W
0
IEG0
0
R/W
2
IEG2
0
R/W
1
IEG1
0
R/W
IEGR is an 8-bit read/write register used to designate whether pins
IRQ
4
to
IRQ
1
, and the internal
IRQ
0
signal used to interface to the FLEX™ decoder, are set to rising edge sensing or falling edge
sensing.
Bits 7 to 5: Reserved bits
Bits 7 to 5 are reserved: they are always read as 1 and cannot be modified.
Bit 4: IRQ
4
edge select (IEG4)
Bit 4 selects the input sensing of the
IRQ
4
pin and
ADTRG
pin.
Bit 4
IEG4
Description
0
Falling edge of
IRQ
4
and
ADTRG
pin input is detected
(initial value)
1
Rising edge of
IRQ
4
and
ADTRG
pin input is detected
Summary of Contents for H8/3935
Page 1: ......
Page 2: ......
Page 4: ......
Page 24: ...12 ...
Page 96: ...84 ...
Page 142: ...130 ...
Page 144: ...132 ...
Page 252: ...240 ...
Page 326: ...314 ...
Page 340: ...328 ...
Page 520: ...508 ...