HD6413008F RENESAS [Renesas Technology Corp], HD6413008F Datasheet - Page 138

no-image

HD6413008F

Manufacturer Part Number
HD6413008F
Description
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6413008F25
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6413008F25
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6413008F25V
Manufacturer:
MITSUMI
Quantity:
2 949
Part Number:
HD6413008F25V
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6413008F25V
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6413008FBL25
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Part Number:
HD6413008FBL25
Manufacturer:
HIT
Quantity:
9 676
5. Interrupt Controller
• If an interrupt condition occurs and the corresponding interrupt enable bit is set to 1, an
• When the interrupt controller receives one or more interrupt requests, it selects the highest-
• The interrupt controller checks the I bit. If the I bit is cleared to 0, the selected interrupt request
• When an interrupt request is accepted, interrupt exception handling starts after execution of the
• In interrupt exception handling, PC and CCR are saved to the stack area. The PC value that is
• Next the I bit is set to 1 in CCR, masking all interrupts except NMI.
• The vector address of the accepted interrupt is generated, and the interrupt service routine
UE = 0: The I and UI bits in the CPU's CCR and the IPR bits enable three-level masking of
IRQ
• Interrupt requests with priority level 0 are masked when the I bit is set to 1, and are unmasked
• Interrupt requests with priority level 1 are masked when the I and UI bits are both set to 1, and
Figure 5.5 shows the transitions among the above states.
Rev.4.00 Aug. 20, 2007 Page 94 of 638
REJ09B0395-0400
interrupt request is sent to the interrupt controller.
priority request, following the IPR interrupt priority settings, and holds other requests pending.
If two or more interrupts with the same IPR setting are requested simultaneously, the interrupt
controller follows the priority order shown in table 5.3.
is accepted. If the I bit is set to 1, only NMI is accepted; other interrupt requests are held
pending.
current instruction has been completed.
saved indicates the address of the first instruction that will be executed after the return from the
interrupt service routine.
starts executing from the address indicated by the contents of the vector address.
when the I bit is cleared to 0.
are unmasked when either the I bit or the UI bit is cleared to 0.
For example, if the interrupt enable bits of all interrupt requests are set to 1, IPRA is set to
H'20, and IPRB is set to H'00 (giving IRQ
interrupts), interrupts are masked as follows:
a. If I = 0, all interrupts are unmasked (priority order: NMI > IRQ
b. If I = 1 and UI = 0, only NMI, IRQ
c. If I = 1 and UI = 1, all interrupts are masked except NMI.
0
to IRQ
5
interrupts and interrupts from the on-chip supporting modules.
2
, and IRQ
2
and IRQ
3
are unmasked.
3
interrupt requests priority over other
2
> IRQ
3
>IRQ
0
…).

Related parts for HD6413008F