Interrupt Control - NEC µPD72257 Preliminary User's Manual

Graphics controllers
Table of Contents

Advertisement

Chapter 6

6.9.2 Interrupt control

170
When capturing interlaced video the interrupt can be en-/disabled for each field
separately (first field, second field or both). In this case the currently captured field
number, reflected in VInACTSCANLINE.AFDL, must match the field interrupt
enable additionally to the scanline number in order to assert the VOnSCLINT
interrupt.
Following registers take part in the VOnSCLINT generation process:
Scanline interrupt control register VInSCANLINEINT:
-
SLINT[11:0]: unscaled scanline number for VOnSCLINT
generation
-
FLD1EN or FLD2EN: enable (if 1) / disable (if 0) VInSCLINT for
both fields
In case of progressive video capturing VInSCANLINEINT.FLD2EN en-/disables
VInSCLINT.
Active scanline register VInACTSCANLINE:
-
AFLD: first field (if 0) / second field (if 1) active
-
ACTSL[11:0]: active unscaled scanline number
The scanline interrupt VOnSCLINT is activated under following conditions:
First field scanline interrupt
-
if VInACTSCANLINE.ACTSL[11:0] = VInSCANLINEINT.SLINT
[11:0] > 0 and
-
VInSCANLINEINT.FLD1EN = 1 or VInSCANLINEINT.FLD2EN =
1 and
-
VInACTSCANLINE.AFLD = 0
Second field scanline interrupt
-
if VInACTSCANLINE.ACTSL[11:0] = VInSCANLINEINT.SLINT
[11:0] > 0 and
-
VInSCANLINEINT.FLD1EN = 1 or VInSCANLINEINT.FLD2EN =
1 and
-
VInACTSCANLINE.AFLD = 1
If ViSCANLINEINT.SLINT[11:0] = 0, no scanline interrupt is generated.
In case of interlaced video capturing one VOnSCLINT is generated per field (if any
for both fields is enabled by VInSCANLINEINT.FLD1EN = 1 or
VInSCANLINEINT.FLD2EN = 1), thus two interrupts per frame.
Controlling the Video Input module interrupts is done by means of the interrupt
control registers of the Host CPU Interface.
Preliminary User's Manual S19203EE1V3UM00
Video Input (Ravin-M only)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Μpd72256

Table of Contents