Philips 8-bit microcontroller with two-clock 80C51 core UM10109 Benutzerhandbuch

Seite von 133
 
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 02 — 23 May 2005 
56 of 133
Philips Semiconductors
UM10109
P89LPC932A1 User manual
 
2. After the current (highest priority) event is serviced, write a logic 0 to the 
corresponding interrupt flag bit in the TIFR2 register to clear the flag.
3. Read the TISE2 register. If the priority-encoded interrupt source is ‘000’, all CCU 
interrupts are serviced and a return from interrupt can occur. Otherwise, return to step 
 for the next interrupt.
Fig 24. Capture/compare unit interrupts.
002aaa896
interrupt to
CPU
TOIE2 (TICR2.7)
TOIF2 (TIFR2.7)
TICIE2A (TICR2.0)
TICF2A (TIFR2.0)
TICIE2B (TICR2.1)
TICF2B (TIFR2.1)
TOCIE2A (TICR2.3)
TOCF2A (TIFR2.3)
TOCIE2B (TICR2.4)
TOCF2B (TIFR2.4)
TOCIE2C (TICR2.5)
TOCF2C (TIFR2.5)
TOCIE2D (TICR2.6)
TOCF2D (TIFR2.6)
EA (IEN0.7)
ECCU (IEN1.4)
PRIORITY
ENCODER
other
interrupt
sources
ENCINT.0
ENCINT.1
ENCINT.2
Table 40:
CCU interrupt status encode register (TISE2 - address DEh) bit allocation
Bit
7
6
5
4
3
2
1
0
Symbol
-
-
-
-
-
ENCINT.2
ENCINT.1
ENCINT.0
Reset
x
x
x
x
x
0
0
0