Nec switch Uživatelský manuál Strana 176

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 234
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 175
CHAPTER 11 INTERRUPT FUNCTIONS
Users Manual U12978EJ3V0UD
176
Figure 11-14. Example of Multiplexed Interrupt Servicing
Example 1. Acknowledging multiplexed interrupts
INTyy
EI
Main processing
EI
INTyy processingINTxx processing
RETI
IE = 0
INTxx
RETI
IE = 0
The interrupt request INTyy is acknowledged and multiplexed interrupt servicing is performed during the interrupt
INTxx servicing. Before each interrupt is acknowledged, the IE instruction is issued and interrupt requests are
enabled.
Example 2. Multiplexed interrupts are not performed because interrupts are disabled.
INTyy
EI
Main processing
RETI
INTyy processingINTxx processing
IE = 0
INTxx
RETI
INTyy is held pending
IE = 0
Interrupt requests are disabled (EI instruction is not issued) in the interrupt INTxx servicing. The interrupt request
INTyy is not acknowledged and multiplexed interrupt servicing is not performed. INTyy is held pending and is
acknowledged after INTxx servicing is completed.
IE = 0: Interrupt request acknowledgment disabled.
Zobrazit stránku 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 233 234

Komentáře k této Příručce

Žádné komentáře