DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

STK6005 View Datasheet(PDF) - Unspecified

Part Name
Description
Manufacturer
STK6005
ETC
Unspecified ETC
STK6005 Datasheet PDF : 36 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
STK6005
A blinking effect will appear in the character if a bit 7 Char index is set to 1. The foreground and
background color is mapped to one of 16 sets of the color pallet. Each set of color pallet is in 24 bits of
true color. The following diagram shows the architecture of STK6005 OSD.
To Set a Character and an Attribute
For a char displayed on location (X, Y) of OSD window, the converting formula of the Char / Attribute
memory address is shown as follows:
Memory Address = Y * Width + X
X indicates the horizontal position of the Char in OSD window (in unit of Char)
Y indicates the vertical position of the Char in OSD window (in unit of Char)
Width explains the horizontal duration of OSD window (in unit of Char)
Two sequences can be applied to write the Char / Attribute contents:
You can write Char / Attribute separately by setting CharOnly = 1. The memory address will
automatically increase 1 after you write a Char or an Attribute, and then you can write a next Char or an
Attribute content. Or you can write Char / Attribute pairs by setting CharOnly = 0. The memory
address will not automatically increase 1 until an Attribute is written in. The steps to set Char and
Attribute are shown as follows:
1. Calculate and set a memory address (write uWrAdr).
2. Write a Char index (write uWrChr). If CharOnly = 1, go to step 4.
3. Write an Attribute index (write uWrAttr).
4. Go to step 2 for continuing to set a next position of Char.
Go to step 1 to recalculate a new address or stop the procedure.
19
Back to Contents Table

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]