
Pre-Amplifier Interface Registers
(Continued)
Bits 7–0
This is an 8-bit wide register that records the measured value of the vertical flyback or sync in
terms of horizontal line periods during video detect. Once measurement is completed and the auto
size enable bit has cleared itself back to 0, the measured data is ready to be read by the
microcontroller. Reading this register before that may give erroneous results. This register resets to
default values, ready to record new measured values when the auto size enable bit is set again.
Vertical Back Porch Duration:
V_BP1 (0x858A)
V_BP0 (0x8589)
Reserved
X
Vertical Back Porch Duration
VBP[10:0]
X
X
X
X
Bits 10–0
This is an 11-bit wide register that records the lowest measured value of the vertical back porch in
terms of horizontal line periods during video detect. When no video is detected, the sum of this
register and the vertical flyback or sync should be within 1 line of the total number of lines per
field. Once measurement is completed and the auto size enable bit has cleared itself back to 0, the
measured data is ready to be read by the microcontroller. Reading this register before that may
give erroneous results. This register resets to default values, ready to record new measured values
when the auto size enable bit is set again.
Attribute Table and Enhanced Features
Each display character and SL in the Display Page RAM will have a 4–bit Attribute Table entry associated with it. The user should
note that two-color display characters and four-color display characters use two different Attribute Tables, effectively providing 16
attributes for two-color display characters and 16 attributes for four-color display characters.
For two-color characters, the attribute contains the code for the 9-bit foreground color (Color 1), the code for the 9-bit background
color (Color 0), and the character’s enhanced features (Button Box, Blinking, Heavy Box, Shadowing, Bordering, etc.).
For four-color characters, the attribute contains the code for the 9-bit Color 0, the code for the 9-bit Color 1, the code for the 9-bit
Color 2, the code for the 9-bit Color 3, and the character’s enhanced features (Button Box, Blinking, Heavy Box, Shadowing,
Bordering, etc.).
TWO COLOR ATTRIBUTE FORMAT
The address range for an attribute number, 0
≤
n
≤
15, is provided in
Table 31. Attribute Tables and Corresponding
Addresses
.
ATT2C3n (0x8443+n*4)
ATT2C2n (0x8442+n*4)
Enhanced Feature
EFB[3:0]
Reserved
X
Color 1 -
C1B[2:1]
X
X
X
X
X
X
X
X
X
ATT2C1n (0x8441+n*4)
Color 1 - Green
C1G[2:0]
ATT2C0n (0x8440+n*4)
Color 0 - Green
C0G[2:0]
Blue
C2B0
Color 1 - Red
C1R[2:0]
Color 0 - Blue
C0B[2:0]
Color 0 - Red
C0R[2:0]
Bits 8–0
These nine bits determine the background color (color1), which is displayed when the
corresponding OSD pixel is a 0.
These nine bits determine the foreground color (color2), which is displayed when the
corresponding OSD pixel is a 1.
These are the enhanced feature (EF) bits, which determine which feature is applied to the
displayed character. The features and their corresponding codes are shown in
Table 30. Enhanced
Feature Descriptions
.
Reserved and should be set to zero.
Bits 17–9
Bits 21–18
Bits 31–22
TABLE 30. Enhanced Feature Descriptions
Bits 21–18
0000b
0001b
0010b
0011b
Feature Description
Normal Display
Blinking
Shadowing
Bordering
L
www.national.com
44