Renesas H8S/2111B Manual do Utilizador Página 114

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 582
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 113
Rev. 1.00, 05/04, page 80 of 544
5.6 Interrupt Control Modes and Interrupt Operation
The interrupt controller has two modes: Interrupt control mode 0 and interrupt control mode 1.
Interrupt operations differ depending on the interrupt control mode. NMI interrupts and address
break interrupts are always accepted except for in reset state or in hardware standby mode. The
interrupt control mode is selected by SYSCR. Table 5.4 shows the interrupt control modes.
Table 5.4 Interrupt Control Modes
SYSCR
Interrupt
Control
Mode
INTM1 INTM0
Priority
Setting
Registers
Interrupt
Mask Bits Description
0 0 ICR I Interrupt mask control is performed by
the I bit. Priority levels can be set with
ICR.
1
0
1 ICR I, UI 3-level interrupt mask control is
performed by the I bit. Priority levels
can be set with ICR.
5.6.1 Interrupt Control Mode 0
In interrupt control mode 0, interrupt requests other than NMI and address breaks are masked by
ICR and the I bit of the CCR in the CPU. Figure 5.4 shows a flowchart of the interrupt acceptance
operation.
1. If an interrupt source occurs when the corresponding interrupt enable bit is set to 1, an
interrupt request is sent to the interrupt controller.
2. According to the interrupt control level specified in ICR, the interrupt controller only accepts
an interrupt request with interrupt control level 1 (priority), and holds pending an interrupt
request with interrupt control level 0 (no priority). If several interrupt requests are issued, an
interrupt request with the highest priority is accepted according to the priority order, an
interrupt handling is requested to the CPU, and other interrupt requests are held pending.
3. If the I bit in CCR is set to 1, only NMI and address break interrupts are accepted by the
interrupt controller, and other interrupt requests are held pending. If the I bit is cleared to 0,
any interrupt request is accepted.
4. When the CPU accepts an interrupt request, it starts interrupt exception handling after
execution of the current instruction has been completed.
5. The PC and CCR are saved to the stack area by interrupt exception handling. The PC saved on
the stack shows the address of the first instruction to be executed after returning from the
interrupt handling routine.
6. Next, the I bit in CCR is set to 1. This masks all interrupts except for NMI and address break
interrupts.
Vista de página 113
1 2 ... 109 110 111 112 113 114 115 116 117 118 119 ... 581 582

Comentários a estes Manuais

Sem comentários

Toshiba PSCBXA-023005 manuels

Manuels d'utilisation et guides de l'utilisateur pour Carnets de notes Toshiba PSCBXA-023005.
Nous fournissons des manuels en pdf 1 Toshiba PSCBXA-023005 à télécharger gratuitement par type de document : Fiche technique






Plus de produits et de manuels pour Carnets de notes Toshiba

Modèles Type de document
PSCMLA-01G00S Fiche technique   Toshiba Satellite Pro C50-B01G, 3 pages
PSCBLU-04C003 Fiche technique   Toshiba Satellite C855-S5192, 4 pages
PSCBQU-00E007 Fiche technique   Toshiba Satellite C855D-S5320, 4 pages
PSCBDC-001001 Fiche technique   Toshiba Satellite Pro C870-001-1, 2 pages
PT43HU-06002P Fiche technique   Toshiba Tecra R940-SMBNX2, 4 pages
PT224E-01V01ETE Fiche technique   Toshiba Portégé Z830, 2 pages
PSKFUU-02Y003 Fiche technique   Toshiba Satellite L855-S5371, 4 pages
PSPQ2E-00Y046G6 Fiche technique   Toshiba Satellite S50-B-142, 2 pages
PSCF6U-02X00C Fiche technique   Toshiba Satellite C55t-A5247, 4 pages
PSCBYV-05H002AR Fiche technique   Toshiba Satellite C850-B765, 2 pages
X70-A100X Fiche technique   Toshiba Qosmio X70-A100X notebook, 1 pages
PSU8SU-00H009 Fiche technique   Toshiba KIRAbook 13 i5s, 4 pages
PSKJJU-010009 Fiche technique   Toshiba Satellite S55T-A5360, 4 pages
PSPNVU-04505E Fiche technique   Toshiba Satellite P55T-B5154, 4 pages
PSPLPU-01M014 Fiche technique   Toshiba Satellite P70-AST2GX1, 4 pages
PSCBQU-004005 Fiche technique   Toshiba Satellite C855D-S5354, 4 pages
PSKJJU-018009 Fiche technique   Toshiba Satellite S55-A5295, 4 pages
PSKK6U-08C08T Fiche technique   Toshiba Satellite S55-A5169, 4 pages
PSKUQA-01300S Fiche technique   Toshiba Satellite L50D-B013, 3 pages
PSCLUU-022011 Fiche technique   Toshiba Satellite C55-B5287, 3 pages