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
Vertical Back Porch Duration
XXXXX
VBP[10:0]
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
ATT2C3n (0x8443+n*4)
ATT2C2n (0x8442+n*4)
Reserved
Enhanced Feature
Color 1 -
XXXXXXXXXX
EFB[3:0]
C1B[2:1]
ATT2C1n (0x8441+n*4)
ATT2C0n (0x8440+n*4)
Blue
Color 1 - Green
Color 1 - Red
Color 0 - Blue
Color 0 - Green
Color0-Red
C2B0
C1G[2:0]
C1R[2:0]
C0B[2:0]
C0G[2:0]
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.
Bits 17–9
These nine bits determine the foreground color (color2), which is displayed when the
corresponding OSD pixel is a 1.
Bits 21–18
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. EnhancedBits 31–22
Reserved and should be set to zero.
TABLE 30. Enhanced Feature Descriptions
Bits 21–18
Feature Description
0000b
Normal Display
0001b
Blinking
0010b
Shadowing
0011b
Bordering
LM1246
www.national.com
44