58
3.3
Register Descriptions
3.3.1
Interrupt Control Register (INTCR)
Bit
7
6
5
4
3
2
1
0
—
—
INTM1
INTM0
NMIEG
—
—
—
Initial value
0
0
0
0
0
0
0
0
Read/Write
—
—
R/W
R/W
R/W
—
—
—
INTCR is an 8-bit readable/writable register that selects the interrupt control mode, and the
detected edge for NMI.
INTCR is initialized to H'00 by a reset and in hardware standby mode. It is not initialized in
software standby mode.
Bits 7 and 6—Reserved: These bits are always read as 0 and cannot be modified.
Bits 5 and 4—Interrupt Control Mode 1 and 0 (INTM1, INTM0): These bits select either of
two interrupt control modes for the interrupt controller.
Bit 5
INTM1
Bit 4
INTM0
Interrupt
Control Mode
Description
0
0
0
Interrupts are controlled by I bit
(Initial value)
1
—
Setting prohibited
1
0
2
Interrupts are controlled by bits I2 to I0, and IPR
1
—
Setting prohibited
Bit 3—NMI Edge Select (NMIEG): Selects the input edge for the NMI pin.
Bit 3
NMIEG
Description
0
Interrupt request generated at falling edge of NMI input
(Initial value)
1
Interrupt request generated at rising edge of NMI input
Bits 2 to 0—Reserved: These bits are always read as 0 and cannot be modified.
Содержание H8S/2670
Страница 5: ......
Страница 9: ......
Страница 199: ...182 ...
Страница 361: ...344 ...
Страница 393: ...376 ...
Страница 647: ...630 ...