English
Language : 

W78E378 Datasheet, PDF (30/38 Pages) Winbond – MONITOR MICROCONTROLLER
Preliminary W78E378/W78C378/W78C374
Interrupts
The five interrupt sources are listed as below.
SOURCE VECTOR ADDRESS
DESCRIPTON
1
IE0
0003H
Interrupt 0 edge detected
2
TF0
3
IE1
000BH
0013H
Timer 0 overflow
Miscellaneous interrupts*1
4
TF1
001BH
Timer 1 overflow
5 SI1+SI2
002BH
SIO1 or SIO2 interrupt
Note: *1: SCLINT + ADCINT + DDC1INT + SOAINT + VEVENT + PARAINT.
PRIORITY WITHIN A LEVEL
Highest
Lowest
The miscellaneous interrupts at vector address 0013H is driven by the following six sources, which
are:
(1) SCLINT: when high-to-low transition on SCL-pin,
(2) ADCINT: when A-to-D conversion completion,
(3) DDC1INT: when DDC1 data byte transmitted (after 9 clock pulses from VIN) in the DDC port,
(4) SOAINT: when SOA activated,
(5) VEVENT: on every Vsync pulse or vertical frequency counter overflow,
(6) PARAINT: when parabola timer timeout.
If IE1 interrupt occurs, it is necessary for the programmer to read the INTVECT register to tell where
the interrupt request comes. These sources can be masked individually by clearing their
corresponding bits in the INTMSK register. To clear any of these interrupt flags, just write a '1' to the
corresponding bit in the INTCLR.
The interrupt enable bits and priority control bits for these five main sources are listed as below.
INTERRUPT FLAG
1
IE0
2
TF0
3
IE1
4
TF1
5
SI+SI2
ENABLE BIT
IE.0 & IE.7
IE.1 & IE.7
IE.2 & IE.7
IE.3 & IE.7
IE.5 & IE.7
PRIORITY CONTROL BIT
IP.0
IP.1
IP.2
IP.3
IP.5
- 30 -