SAA5531 Philips Semiconductors, SAA5531 Datasheet - Page 34

no-image

SAA5531

Manufacturer Part Number
SAA5531
Description
Enhanced TV microcontrollers with On-Screen Display OSD
Manufacturer
Philips Semiconductors
Datasheet
Philips Semiconductors
12 INTERRUPT SYSTEM
The device has 7 interrupt sources, each of which can be
enabled or disabled. When enabled each interrupt can be
assigned one of two priority levels. There are four
interrupts that are common to the 80C51, two of these are
external interrupts (EX0 and EX1) and the other two are
timer interrupts (ET0 and ET1). In addition to the
conventional 80C51 interrupts, two application specific
interrupts are incorporated internal to the device which
have following functionality:
12.1
Each of the individual interrupts can be enabled or
disabled by setting or clearing the relevant bit in the
interrupt enable SFR(IE). All interrupt sources can also be
globally disabled by clearing the EA bit (IE.7).
The interrupt structure is shown in Fig.12.
12.2
Each interrupt source can be assigned one of two priority
levels. The interrupt priorities are defined by the Interrupt
Priority Register (IP). A low priority interrupt can be
interrupted by a high priority interrupt, but not by another
low priority interrupt. A high priority interrupt can not be
interrupted by any other interrupt source. If two requests of
different priority levels are received simultaneously, the
request with the highest priority level is serviced.
2000 Feb 23
Closed Caption Data Ready interrupt (ECC). This
interrupt is generated when the device is configured in
Closed Caption Acquisition mode. The interrupt is
activated at the end of the currently selected Slice Line
as defined in the CCLIN SFR.
Display Busy interrupt (EBUSY). An interrupt is
generated when the display enters either a Horizontal or
Vertical Blanking Period. i.e. indicates when the
microcontroller can update the Display RAM without
causing undesired effects on the screen. This interrupt
can be configured in one of two modes using the MMR
Configuration Register (address 87FFH, bit TXT/V).
– Text Display Busy. An interrupt is generated on each
– Vertical Display Busy. An interrupt is generated on
Enhanced TV microcontrollers with
On-Screen Display (OSD)
active horizontal display line when the Horizontal
Blanking Period is entered.
each vertical display field when the Vertical Blanking
Period is entered.
Interrupt enable structure
Interrupt enable priority
34
If requests of the same priority level are received
simultaneously, an internal polling sequence determines
which request is serviced. Thus, within each priority level
there is a second priority structure determined by the
polling sequence as defined in Table 10.
Table 10 Interrupt Priority (within same level)
12.3
The processor acknowledges an interrupt request by
executing a hardware generated LCALL to the appropriate
servicing routine. The interrupt vector addresses for each
source are shown in Table 10.
12.4
The external interrupt can be programmed to be either
level-activated or transition-activated by setting or clearing
the IT0/IT1 bits in the Timer Control SFR (TCON).
Table 11 External interrupt activation
The external interrupt INT1 differs from the standard
80C51 interrupt in that it is activated on both edges when
in edge sensitive mode. This is to allow software pulse
width measurement for handling remote control inputs.
ITx
0
1
SOURCE
EBUSY
Interrupt vector address
Level/edge interrupt
ECC
EX0
EX1
ES2
ET0
ET1
active LOW
LEVEL
WITHIN LEVEL
INTO = negative edge
INTI = positive and negative edge
PRIORITY
highest
lowest
Preliminary specification
EDGE
SAA55xx
INTERRUPT
VECTOR
000BH
001BH
002BH
0003H
0013H
0023H
0033H

Related parts for SAA5531