English
Language : 

W78C354 Datasheet, PDF (24/44 Pages) Winbond – MONITOR MICROCONTROLLER
W78C354
converter is completed, the interrupt will be generated and the bit ADCINT in the INTVECT will
automatically be set. To clear the bit ADCINT to receive the next interrupt, the programmer can use
the "MOV INTVECT, #00000010B" instruction. See Figure 6.
IE
IP
Vector Address
INTMSK INTVECT
DSCLINT source Bit 0
DSCLINT
IE0
TF0
0003H
IE.0
IP.0
000BH
IE.1
IP.1
ADCINT source
Bit 1
ADCINT
TIMEOUT source Bit 2
TIMEOUT
SOAINT source
Bit 3
VEVENT source
Bit 4
SOAINT
VEVENT
OR
0013H
IE.2
IP.2
PARAINT source Bit 5
PARAINT
DDC1INT source Bit 6
DDC1INT
I2C in DDC port
TF1
RI+TI
001BH
IE.3
IP.3
0023H
IE.4
IP.4
002BH
IE.5
IP.5
IE.7
High Priority
Low Priority
Interrupt Polling
Sequence
Figure 6. Interrupt block diagram
H-2. Newly Added External Interrupt 0 Function (INT0)
INT0 can be set to be falling-edge or low-level active by setting/clearing the IT0 bit in TCON. If
programmers wish to use a rising-edge or high-level signal as interrupt on the pin INT0, INT0 can also
be activated by setting/clearing the EINTES bit in SFR CONTREG2 (see Figure 7). In other words,
there are four trigger types for INT0 (falling-edge, low-level, rising-edge. and high-level). In the initial
state, INT0 will be triggered by a rising-edge or high-level signal.
EINTES
INT0
(P3.2)
1
0
IT0
IE0
0
1
Figure 7. External interrupt 0
- 24 -