Auto Page CPX-3600 Specifikace Strana 53

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 243
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 52
ST72321xx-Auto Interrupts
Doc ID 13829 Rev 1 53/243
Figure 20. Nested interrupt management
7.5 Interrupt register description
7.5.1 CPU CC register interrupt bits
These two bits indicate the current interrupt software priority (see Tab le 1 7 ) and are
set/cleared by hardware when entering in interrupt. The loaded value is given by the
corresponding bits in the interrupt software priority registers (ISPRx).
They can be also set/cleared by software with the RIM, SIM, HALT, WFI, IRET and
PUSH/POP instructions (see Table 19: Interrupt dedicated instruction set).
MAIN
IT2
TRAP
MAIN
IT0
IT2
IT1
IT4
TRAP
IT3
IT0
HARDWARE PRIORITY
3
2
1
3
3
3/0
3
11
00
01
11
11
11
RIM
IT1
IT4
IT4
IT1
IT2
IT3
I1
I0
11 / 10
10
SOFTWARE
PRIORITY
LEVEL
USED STACK = 20 BYTES
CPU CC Reset value: 111x 1010 (xAh)
76543210
11I1 H I0 NZC
RW RW RW RW RW RW
Table 16. CPU CC register interrupt bits description
Bit Name Function
5I1
Interrupt Software Priority 1
3I0 Interrupt Software Priority 0
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 242 243

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

Žádné komentáře